Class: Dynamic::Properties::InterpretAsBuilder
- Inherits:
-
KirguduBase::Dynamic::BaseBuilder
- Object
- KirguduBase::Dynamic::BaseBuilder
- Dynamic::Properties::InterpretAsBuilder
- Defined in:
- app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb
Instance Attribute Summary collapse
-
#data_type ⇒ Object
Returns the value of attribute data_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#preprocessors ⇒ Object
Returns the value of attribute preprocessors.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ InterpretAsBuilder
constructor
A new instance of InterpretAsBuilder.
Constructor Details
#initialize(options = {}) ⇒ InterpretAsBuilder
Returns a new instance of InterpretAsBuilder.
5 6 7 8 9 10 11 12 13 14 |
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 5 def initialize( = {}) self..merge!( { name: nil, preprocessors: nil, data_type: nil } ) super() end |
Instance Attribute Details
#data_type ⇒ Object
Returns the value of attribute data_type.
18 19 20 |
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 18 def data_type @data_type end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 16 def name @name end |
#preprocessors ⇒ Object
Returns the value of attribute preprocessors.
17 18 19 |
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 17 def preprocessors @preprocessors end |