Class: Betterp::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/betterp/configuration.rb

Overview

Misc. configuration options for Betterp library.

Defined Under Namespace

Classes: ProfilingThreshold

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#profiling_thresholds=(value) ⇒ Object (writeonly)

Sets the attribute profiling_thresholds

Parameters:

  • value

    the value to set the attribute profiling_thresholds to.



7
8
9
# File 'lib/betterp/configuration.rb', line 7

def profiling_thresholds=(value)
  @profiling_thresholds = value
end

#test_modeObject

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_thresholdObject



44
45
46
# File 'lib/betterp/configuration.rb', line 44

def profiling_threshold
  @profiling_threshold ||= ProfilingThreshold.new
end