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