Class: Slayer::Generators::CommandGenerator
- Inherits:
-
NamedBase
- Object
- Rails::Generators::NamedBase
- NamedBase
- Slayer::Generators::CommandGenerator
- Defined in:
- lib/generators/command/command_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_command_files ⇒ Object
9 10 11 |
# File 'lib/generators/command/command_generator.rb', line 9 def create_command_files template "command.rb", File.join("app", "commands", class_path, "#{file_name}_command.rb") end |