--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 1 text: Reference - !ruby/struct:SM::Flow::P body: Reference provides a way to access object indirectly. This allows for the object itself to be changed on the fly. - !ruby/struct:SM::Flow::VERB body: " a = "HELLO"\n b = ref(a)\n puts b #=> "HELLO"\n c = 10\n b.become(c)\n puts b #=> "10"\n" constants: [] full_name: Reference includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: __value__ - !ruby/object:RI::MethodSummary name: become - !ruby/object:RI::MethodSummary name: instance_delegate - !ruby/object:RI::MethodSummary name: method_missing name: Reference superclass: Object