Module: RDKit::Introspection::Stats::ClassMethods
- Included in:
- RDKit::Introspection::Stats
- Defined in:
- lib/rdkit/introspection.rb
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#clear(key) ⇒ Object
112 113 114 |
# File 'lib/rdkit/introspection.rb', line 112 def clear(key) @@instance.data[key] = 0 end |
#incr(key, amount = 1) ⇒ Object
108 109 110 |
# File 'lib/rdkit/introspection.rb', line 108 def incr(key, amount=1) @@instance.data[key] += amount end |
#info ⇒ Object
116 117 118 |
# File 'lib/rdkit/introspection.rb', line 116 def info @@instance.data end |