Class: Transit::Generators::SetupGenerator

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

Overview

Generates a configuration initializer in config/initializers including documentation and default options.

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



10
11
12
# File 'lib/generators/transit/setup_generator.rb', line 10

def copy_initializer
  template "transit.rb", "config/initializers/transit.rb"
end