2 ms·
I had no idea that you could define a method on a single instance with access to the current scope. I used to always call instance_variable_set before def to ge
by pkulak 17y ago
I had no idea that you could define a method on a single instance with access to the current scope. I used to always call instance_variable_set before def to get the data I needed in there.