Class: Actions::GenerateRules

Inherits:
Object
  • Object
show all
Defined in:
lib/actions/generate_rules.rb

Instance Method Summary collapse

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

#executeObject



9
10
11
# File 'lib/actions/generate_rules.rb', line 9

def execute
  generate_output.green
end