Class: Passbook::Generators::ConfigGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/passbook/config/config_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



11
12
13
# File 'lib/rails/generators/passbook/config/config_generator.rb', line 11

def create_initializer_file
  template 'initializer.rb', File.join('config', 'initializers', 'passbook.rb')
end