Class: Dressmaker::Configuration::Rule
- Inherits:
-
Object
- Object
- Dressmaker::Configuration::Rule
- Defined in:
- lib/dressmaker/configuration/rule.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#informed ⇒ Object
Returns the value of attribute informed.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/dressmaker/configuration/rule.rb', line 5 def description @description end |
#informed ⇒ Object
Returns the value of attribute informed.
5 6 7 |
# File 'lib/dressmaker/configuration/rule.rb', line 5 def informed @informed end |
Instance Method Details
#inform ⇒ Object
7 8 9 10 |
# File 'lib/dressmaker/configuration/rule.rb', line 7 def inform Dressmaker.inform(self, description) if description && !informed self.informed = true end |
#informed? ⇒ Boolean
12 13 14 |
# File 'lib/dressmaker/configuration/rule.rb', line 12 def informed? informed end |