Class: ROM::Generators::CommandsGenerator
- Defined in:
- lib/generators/rom/commands_generator.rb
Instance Method Summary collapse
Methods inherited from Base
base_name, namespace, source_root
Instance Method Details
#create_commands_file ⇒ Object
6 7 8 9 10 11 |
# File 'lib/generators/rom/commands_generator.rb', line 6 def create_commands_file template( 'commands.rb.erb', File.join('app', 'commands', "#{file_name}.rb") ) end |