lib/parameters/instance_param.rb in parameters-0.1.4 vs lib/parameters/instance_param.rb in parameters-0.1.5

- old
+ new

@@ -16,17 +16,17 @@ # # Returns the value of the instance param. # def value - @object.instance_variable_get("@#{@name}") + @object.instance_variable_get("@#{@name}".to_sym) end # # Sets the value of the instance param. # def value=(value) - @object.instance_variable_set("@#{@name}",value) + @object.instance_variable_set("@#{@name}".to_sym,value) end # # Returns a String representation of the instance param. #