Method: Reference.new

Defined in:
lib/mega/reference.rb

.new(obj) ⇒ Object



39
40
41
42
43
# File 'lib/mega/reference.rb', line 39

def self.new(obj)
  ref = allocate
  ref.become obj
  ref
end