Method: Honeybadger::Config#framework_name

Defined in:
lib/honeybadger/config.rb

#framework_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

352
353
354
355
356
357
358
359
360
361
# File 'lib/honeybadger/config.rb', line 352

def framework_name
  case detected_framework
  when :rails then "Rails #{::Rails::VERSION::STRING}"
  when :sinatra then "Sinatra #{::Sinatra::VERSION}"
  when :hanami then "Hanami #{::Hanami::VERSION}"
  when :rack then "Rack #{::Rack.release}"
  else
    "Ruby #{RUBY_VERSION}"
  end
end