Class: Swaggard::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_initializerObject



7
8
9
10
# File 'lib/generators/swaggard/install_generator.rb', line 7

def create_initializer
  dest = File.join("config/initializers", "swaggard.rb")
  template "swaggard.rb", dest
end