Class: Operations::Generators::SetupGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/operations/generators/setup_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



8
9
10
# File 'lib/operations/generators/setup_generator.rb', line 8

def copy_initializer_file
  initializer "operation_generators.rb", File.read(File.expand_path("setup/templates/generators.rb.tt", __dir__))
end