Class: InteractorGenerator
- Inherits:
-
ActiveInteractor::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveInteractor::Generators::NamedBase
- InteractorGenerator
- Defined in:
- lib/rails/generators/interactor/interactor_generator.rb
Instance Method Summary collapse
Methods included from ActiveInteractor::Generators::Generator
Instance Method Details
#create_interactor ⇒ Object
8 9 10 |
# File 'lib/rails/generators/interactor/interactor_generator.rb', line 8 def create_interactor template 'interactor.erb', Rails.root.join('app', app_dir_name, File.join(class_path), "#{file_name}.rb") end |