Class | Reference |
In: |
lib/facets/supplemental/facets/reference.rb
|
Parent: | Object |
# File lib/facets/supplemental/facets/reference.rb, line 51 def self.new(obj) ref = allocate ref.become obj ref end
# File lib/facets/supplemental/facets/reference.rb, line 61 def become(obj) old = @ref @ref = obj old end