Class: Google::Storage::Property::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/google/storage/property/array.rb

Overview

A Puppet property that can compare its values

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#insync?

Class Method Details

.api_munge(value) ⇒ Object



55
56
57
# File 'lib/google/storage/property/array.rb', line 55

def self.api_munge(value)
  value
end

.match_all_arrayObject

Sets Google::Storage::Property::Array to match all elements, not any.



36
37
38
# File 'lib/google/storage/property/array.rb', line 36

def self.match_all_array
  self.array_matching = :all
end

Instance Method Details

#match_all?Boolean

Returns:



51
52
53
# File 'lib/google/storage/property/array.rb', line 51

def match_all?
  true
end