Class: Raygun::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Raygun::InstallGenerator
- Defined in:
- lib/generators/raygun/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_configuration_file ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/raygun/install_generator.rb', line 7 def create_configuration_file initializer "raygun.rb" do <<-EOS Raygun.setup do |config| config.api_key = "#{api_key}" end EOS end end |