Class: MicroQ::Statistics::Base
- Inherits:
-
Object
- Object
- MicroQ::Statistics::Base
- Defined in:
- lib/micro_q/statistics/base.rb
Instance Attribute Summary collapse
-
#increment ⇒ Object
readonly
Returns the value of attribute increment.
Class Method Summary collapse
Instance Attribute Details
#increment ⇒ Object (readonly)
Returns the value of attribute increment.
4 5 6 |
# File 'lib/micro_q/statistics/base.rb', line 4 def increment @increment end |
Class Method Details
.instance ⇒ Object
10 11 12 |
# File 'lib/micro_q/statistics/base.rb', line 10 def self.instance @instance ||= new end |
.stats {|instance| ... } ⇒ Object
6 7 8 |
# File 'lib/micro_q/statistics/base.rb', line 6 def self.stats yield instance end |