class ExceptionTrack::Configuration

Attributes

environments[RW]

environments for store Exception log in to database. default: [:development, :production]

Public Instance Methods

enabled_env?(env) click to toggle source
# File lib/exception-track/configuration.rb, line 9
def enabled_env?(env)
  return false if env.blank?

  environments.include?(env.to_sym)
end