Class: Linkage::Configuration::DSL::DataWrapper
- Inherits:
-
Object
- Object
- Linkage::Configuration::DSL::DataWrapper
- Defined in:
- lib/linkage/configuration.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#meta_object ⇒ Object
readonly
Returns the value of attribute meta_object.
Instance Method Summary collapse
- #compare_with(other) ⇒ Object
-
#initialize ⇒ DataWrapper
constructor
A new instance of DataWrapper.
- #method_missing(m, *args, &block) ⇒ Object
Constructor Details
#initialize ⇒ DataWrapper
Returns a new instance of DataWrapper.
94 95 96 |
# File 'lib/linkage/configuration.rb', line 94 def initialize raise NotImplementedError end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
119 120 121 122 123 124 125 |
# File 'lib/linkage/configuration.rb', line 119 def method_missing(m, *args, &block) if .respond_to?(m) .send(m, *args, &block) else super(m, *args, &block) end end |
Instance Attribute Details
#meta_object ⇒ Object (readonly)
Returns the value of attribute meta_object.
92 93 94 |
# File 'lib/linkage/configuration.rb', line 92 def @meta_object end |
Instance Method Details
#compare_with(other) ⇒ Object
115 116 117 |
# File 'lib/linkage/configuration.rb', line 115 def compare_with(other) VisualComparisonWrapper.new(@dsl, self, other) end |