Class: BasicObject
- Defined in:
- lib/allocation_stats/core_ext/basic_object.rb
Overview
monkey patch to BasicObject, allowing it to respnd to :class
Instance Method Summary collapse
-
#class ⇒ Object
monkey patch to BasicObject, allowing it to respnd to :class.
Instance Method Details
#class ⇒ Object
monkey patch to BasicObject, allowing it to respnd to :class
8 9 10 |
# File 'lib/allocation_stats/core_ext/basic_object.rb', line 8 def class (class << self; self end).superclass end |