Class: SteelWheel::ApplicationHandlerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SteelWheel::ApplicationHandlerGenerator
- Defined in:
- lib/generators/steel_wheel/application_handler/application_handler_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
7 8 9 10 |
# File 'lib/generators/steel_wheel/application_handler/application_handler_generator.rb', line 7 def copy_files empty_directory Pathname.new('app/handlers') template 'handler_template.rb', 'app/handlers/application_handler.rb' end |