Class: Linkage::Configuration::DSL::FieldWrapper
- Inherits:
-
DataWrapper
- Object
- DataWrapper
- Linkage::Configuration::DSL::FieldWrapper
- Defined in:
- lib/linkage/configuration.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from DataWrapper
Instance Method Summary collapse
-
#initialize(dsl, side, dataset, name) ⇒ FieldWrapper
constructor
A new instance of FieldWrapper.
Methods inherited from DataWrapper
#compare_with, #method_missing
Constructor Details
#initialize(dsl, side, dataset, name) ⇒ FieldWrapper
Returns a new instance of FieldWrapper.
131 132 133 134 |
# File 'lib/linkage/configuration.rb', line 131 def initialize(dsl, side, dataset, name) @dsl = dsl @meta_object = MetaObject.new(dataset.field_set[name], side) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Linkage::Configuration::DSL::DataWrapper
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
129 130 131 |
# File 'lib/linkage/configuration.rb', line 129 def name @name end |