On Thursday, July 2, 2015 at 5:21:51 AM UTC+1,
j...@via.net wrote:
> Something like x.instance_variables.each.... { |i} .... }
>
>
> Ought to be a one liner. I can't figure out how to apply strip() to each variable, since instance_variable_get returns the value. I really want something I can apply .strip! to....
What make you think you can't do that to the result from instance_variable_get ?