Class: Imperator::Generators::CommandGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Imperator::Generators::CommandGenerator
- Defined in:
- lib/generators/imperator/command_generator.rb
Instance Method Summary collapse
Instance Method Details
#main_flow ⇒ Object
8 9 10 11 12 13 |
# File 'lib/generators/imperator/command_generator.rb', line 8 def main_flow empty_directory "app/commands" inside "app/commands" do template "command.tt", "#{file_path}_command.rb" end end |