Class: Actions::GenerateRules
- Inherits:
-
Object
- Object
- Actions::GenerateRules
- Defined in:
- lib/actions/generate_rules.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(input) ⇒ GenerateRules
constructor
A new instance of GenerateRules.
Constructor Details
#initialize(input) ⇒ GenerateRules
Returns a new instance of GenerateRules.
5 6 7 |
# File 'lib/actions/generate_rules.rb', line 5 def initialize(input) @input = input end |
Instance Method Details
#execute ⇒ Object
9 10 11 |
# File 'lib/actions/generate_rules.rb', line 9 def execute generate_output.green end |