Class: ActiveOperator::Generators::OperationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveOperator::Generators::OperationGenerator
- Includes:
- Rails::Generators::ResourceHelpers
- Defined in:
- lib/generators/active_operator/operation_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_operation_file ⇒ Object
15 16 17 |
# File 'lib/generators/active_operator/operation_generator.rb', line 15 def create_operation_file template "operation.rb.erb", "app/operations/#{file_path}.rb" end |