Class: Controll::Generators::NotifierGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/controll/notifier_generator.rb

Instance Method Summary collapse

Instance Method Details

#main_flowObject



6
7
8
# File 'lib/generators/controll/notifier_generator.rb', line 6

def main_flow
  template 'notifier.tt', "app/controll/notifiers/#{file_name}.rb"
end