Class: ActiveOperation::Generators::OperationGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveOperation::Generators::OperationGenerator
- Defined in:
- lib/generators/active_operation/operation/operation_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_operation ⇒ Object
12 13 14 |
# File 'lib/generators/active_operation/operation/operation_generator.rb', line 12 def create_operation template 'operation.rb.erb', File.join('app/operations', class_path, "#{file_name}.rb") end |