Module: Remnant::GC::Base::ClassMethods
- Included in:
- Remnant::GC::Base
- Defined in:
- lib/remnant/gc/base.rb
Instance Method Summary collapse
- #clear_stats ⇒ Object
- #collections ⇒ Object
- #disable_stats ⇒ Object
- #enable_stats ⇒ Object
- #enabled? ⇒ Boolean
- #time ⇒ Object
Instance Method Details
#clear_stats ⇒ Object
25 26 27 |
# File 'lib/remnant/gc/base.rb', line 25 def clear_stats true end |
#collections ⇒ Object
13 14 15 |
# File 'lib/remnant/gc/base.rb', line 13 def collections 0 end |
#disable_stats ⇒ Object
21 22 23 |
# File 'lib/remnant/gc/base.rb', line 21 def disable_stats true end |
#enable_stats ⇒ Object
17 18 19 |
# File 'lib/remnant/gc/base.rb', line 17 def enable_stats true end |
#enabled? ⇒ Boolean
5 6 7 |
# File 'lib/remnant/gc/base.rb', line 5 def enabled? false end |
#time ⇒ Object
9 10 11 |
# File 'lib/remnant/gc/base.rb', line 9 def time 0 end |