Method: Ref::Reference#object
- Defined in:
- lib/ref/reference.rb
#object ⇒ Object
Get the referenced object. This could be nil if the reference is a WeakReference or a SoftReference and the object has been reclaimed by the garbage collector.
15 16 17 |
# File 'lib/ref/reference.rb', line 15 def object raise NotImplementedError end |