Class: Betterp::Configuration
- Inherits:
-
Object
- Object
- Betterp::Configuration
- Defined in:
- lib/betterp/configuration.rb
Overview
Misc. configuration options for Betterp library.
Defined Under Namespace
Classes: ProfilingThreshold
Instance Attribute Summary collapse
-
#profiling_thresholds ⇒ Object
writeonly
Sets the attribute profiling_thresholds.
-
#test_mode ⇒ Object
Returns the value of attribute test_mode.
Instance Method Summary collapse
Instance Attribute Details
#profiling_thresholds=(value) ⇒ Object (writeonly)
Sets the attribute profiling_thresholds
7 8 9 |
# File 'lib/betterp/configuration.rb', line 7 def profiling_thresholds=(value) @profiling_thresholds = value end |
#test_mode ⇒ Object
Returns the value of attribute test_mode.
6 7 8 |
# File 'lib/betterp/configuration.rb', line 6 def test_mode @test_mode end |
Instance Method Details
#profiling_threshold ⇒ Object
44 45 46 |
# File 'lib/betterp/configuration.rb', line 44 def profiling_threshold @profiling_threshold ||= ProfilingThreshold.new end |