Class: DevisePaypal::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DevisePaypal::Generators::InstallGenerator
- Defined in:
- lib/generators/devise_paypal/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_locale ⇒ Object
8 9 10 |
# File 'lib/generators/devise_paypal/install_generator.rb', line 8 def copy_locale copy_file "../../../config/locales/en.yml", "config/locales/devise_paypal.en.yml" end |
#show_readme ⇒ Object
12 13 14 |
# File 'lib/generators/devise_paypal/install_generator.rb', line 12 def show_readme readme "README" if behavior == :invoke end |