Reference provides a way to access object indirectly. This allows for the object itself to be changed on the fly.
a = "HELLO" b = ref(a) puts b #=> "HELLO" c = 10 b.become(c) puts b #=> "10"
# File lib/more/facets/reference.rb, line 66 66: def __value__ 67: @ref 68: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.