Class: AirbrakeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- AirbrakeGenerator
- Defined in:
- lib/generators/airbrake_generator.rb
Overview
Creates the Airbrake initializer file for Rails apps.
Instance Method Summary collapse
Instance Method Details
#generate_layout ⇒ Object
19 20 21 |
# File 'lib/generators/airbrake_generator.rb', line 19 def generate_layout template 'airbrake_initializer.rb.erb', 'config/initializers/airbrake.rb' end |