S
Shea Barton
learned ruby a few months ago - is there a pointer equivalent in ruby
for setting the variable referenced by the return value of a function,
rather than just getting it?
like something that would allow you to do this.
def method
@value
end
@value = 5
method = 3
@value (should be 3)
for setting the variable referenced by the return value of a function,
rather than just getting it?
like something that would allow you to do this.
def method
@value
end
@value = 5
method = 3
@value (should be 3)