Class: Dressmaker::Configuration::Matcher
- Inherits:
-
Object
- Object
- Dressmaker::Configuration::Matcher
- Defined in:
- lib/dressmaker/configuration/matcher.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Instance Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/dressmaker/configuration/matcher.rb', line 5 def configuration @configuration end |
Instance Method Details
#update_description_on_rule(rule) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/dressmaker/configuration/matcher.rb', line 7 def update_description_on_rule(rule) if rule.respond_to?(:description=) rule.description = configuration.description_holder configuration.description_holder = nil end end |