Class: CloudBuilder::Reference::Join

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud_builder/reference.rb

Instance Method Summary collapse

Constructor Details

#initialize(sep, values) ⇒ Join

Returns a new instance of Join.



40
41
42
43
# File 'lib/cloud_builder/reference.rb', line 40

def initialize(sep, values)
  @sep = sep
  @values = values
end

Instance Method Details

#to_json_dataObject



45
46
47
# File 'lib/cloud_builder/reference.rb', line 45

def to_json_data
  { JOIN => [ @sep, DSL.jsonize(@values) ]}
end