Class: Edict::Rule
- Inherits:
-
Object
- Object
- Edict::Rule
- Includes:
- Calibrate::Configurable, Calibrate::Configurable::DirectoryStructure
- Defined in:
- lib/edict/rule.rb
Instance Method Summary collapse
- #action ⇒ Object
- #enact ⇒ Object
-
#initialize {|_self| ... } ⇒ Rule
constructor
A new instance of Rule.
- #setup ⇒ Object
Constructor Details
#initialize {|_self| ... } ⇒ Rule
Returns a new instance of Rule.
8 9 10 11 12 |
# File 'lib/edict/rule.rb', line 8 def initialize setup_defaults yield self setup end |
Instance Method Details
#action ⇒ Object
22 23 |
# File 'lib/edict/rule.rb', line 22 def action end |
#enact ⇒ Object
17 18 19 20 |
# File 'lib/edict/rule.rb', line 17 def enact check_required # from Calibrate action end |
#setup ⇒ Object
14 15 |
# File 'lib/edict/rule.rb', line 14 def setup end |