#RubyOnRails - 07 October 2018
« Back 1 day Forward 1 day »
[16:53:43] samort7: I'm new to metaprogramming and was looking at the docs for instance_variable_set and in https://apidock.com/ruby/Object/instance_variable_set it says: "Sets the instance variable names by symbol to object, thereby frustrating the efforts of the class’s author to attempt to provide proper encapsulation. The variable did not have to exist prior to this call."
[17:51:22] samort7: The use of the word "frustrating" makes me feel like this is a method I should not be using?