Module: D13n::Metric::Instrumentation::AppException
- Defined in:
- lib/d13n/metric/instrumentation/app_exception.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary
collapse
Class Method Details
.enable? ⇒ Boolean
37
38
39
|
# File 'lib/d13n/metric/instrumentation/app_exception.rb', line 37
def enable?
D13n.config[:'metric.app.state.exception.enable'] == 'true' || D13n.config[:'metric.app.state.exception.enable'] == true
end
|
.included(descendance) ⇒ Object
3
4
5
6
|
# File 'lib/d13n/metric/instrumentation/app_exception.rb', line 3
def self.included(descendance)
descendance.include(InstanceMethods)
descendance.extend(ClassMethods)
end
|