/ Published in: Ruby
URL: airsine.com
Inserted at the top of the method body, this line creates instance variables for each of the method parameters and sets them to their respective argument values.
Expand |
Embed | Plain Text
local_variables.each { |v| eval("@#{v}=eval(v)") }
You need to login to post a comment.
