Class: Diecut::Configurable::InstanceSegment
- Inherits:
-
Object
- Object
- Diecut::Configurable::InstanceSegment
- Defined in:
- lib/diecut/configurable.rb
Instance Method Summary collapse
Instance Method Details
#metadata ⇒ Object
112 113 114 |
# File 'lib/diecut/configurable.rb', line 112 def @metadata ||= instance.class.(name) end |
#value ⇒ Object
116 117 118 |
# File 'lib/diecut/configurable.rb', line 116 def value .value_on(instance) end |
#value=(value) ⇒ Object
120 121 122 |
# File 'lib/diecut/configurable.rb', line 120 def value=(value) instance.__send__(.writer_method, value) end |