Sha256: 97d6afe2480f5185435acf4face415eef7e90f27427061522d542e37a4541030
Contents?: true
Size: 835 Bytes
Versions: 2
Compression:
Stored size: 835 Bytes
Contents
--- !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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/Reference/cdesc-Reference.yaml |
facets-2.4.3 | doc/ri/Reference/cdesc-Reference.yaml |