Module: Appsignal::Utils::RailsHelper
- Defined in:
- lib/appsignal/utils/rails_helper.rb
Class Method Summary collapse
Class Method Details
.detected_rails_app_name ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/appsignal/utils/rails_helper.rb', line 6 def self.detected_rails_app_name rails_class = Rails.application.class if rails_class.respond_to? :module_parent_name # Rails 6 rails_class.module_parent_name else # Older Rails versions rails_class.parent_name end end |