Class: OmfCommon::Measure

Inherits:
Object
  • Object
show all
Defined in:
omf_common/lib/omf_common/measure.rb

Constant Summary

@@enabled =
false

Class Method Summary (collapse)

Class Method Details

+ (Object) enable



11
# File 'omf_common/lib/omf_common/measure.rb', line 11

def Measure.enable ; @@enabled = true end

+ (Boolean) enabled?

Returns:

  • (Boolean)


10
# File 'omf_common/lib/omf_common/measure.rb', line 10

def Measure.enabled? ; @@enabled end