Class: OfxKit::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- OfxKit::Generators::InstallGenerator
- Defined in:
- lib/generators/ofx_kit/install_generator.rb
Overview
Generates an OFX Kit initializer with all configuration options pre-written and commented, ready to uncomment and customize.
Example
rails generate ofx_kit:install
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
18 19 20 |
# File 'lib/generators/ofx_kit/install_generator.rb', line 18 def copy_initializer copy_file 'ofx_kit.rb', 'config/initializers/ofx_kit.rb' end |