Revision: 18829
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 9, 2009 14:22 by pmadden
Initial Code
local_variables.each { |v| eval("@#{v}=eval(v)") }
Initial URL
airsine.com
Initial Description
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.
Initial Title
Create and set instance variables from method parameters / arguments
Initial Tags
ruby
Initial Language
Ruby