Class: Interactor::Generators::OrganizerGenerator

Inherits:
ActiveInteractor::Generators::NamedBase show all
Defined in:
lib/rails/generators/interactor/organizer_generator.rb

Instance Method Summary collapse

Methods included from ActiveInteractor::Generators::Generator

#app_dir_name

Instance Method Details

#create_organizerObject



11
12
13
# File 'lib/rails/generators/interactor/organizer_generator.rb', line 11

def create_organizer
  template 'organizer.erb', Rails.root.join('app', app_dir_name, File.join(class_path), "#{file_name}.rb")
end