Class: Operations::Generators::SetupGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Operations::Generators::SetupGenerator
- Defined in:
- lib/operations/generators/setup_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer_file ⇒ Object
8 9 10 |
# File 'lib/operations/generators/setup_generator.rb', line 8 def copy_initializer_file initializer "operation_generators.rb", File.read(File.("setup/templates/generators.rb.tt", __dir__)) end |