Class: Zodra::VariantBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/zodra/variant_builder.rb

Constant Summary collapse

PRIMITIVES =
TypeBuilder::PRIMITIVES

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVariantBuilder

Returns a new instance of VariantBuilder.



9
10
11
# File 'lib/zodra/variant_builder.rb', line 9

def initialize
  @attributes = {}
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



5
6
7
# File 'lib/zodra/variant_builder.rb', line 5

def attributes
  @attributes
end