Class: Zodra::VariantBuilder
- Inherits:
-
Object
- Object
- Zodra::VariantBuilder
- Defined in:
- lib/zodra/variant_builder.rb
Constant Summary collapse
- PRIMITIVES =
TypeBuilder::PRIMITIVES
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize ⇒ VariantBuilder
constructor
A new instance of VariantBuilder.
Constructor Details
#initialize ⇒ VariantBuilder
Returns a new instance of VariantBuilder.
9 10 11 |
# File 'lib/zodra/variant_builder.rb', line 9 def initialize @attributes = {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/zodra/variant_builder.rb', line 5 def attributes @attributes end |