/ Published in: Ruby

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
Copy this code and paste it in your HTML
local_variables.each { |v| eval("@#{v}=eval(v)") }
URL: airsine.com
Comments
