lib/rcoli/extensions.rb in rcoli-0.5.7 vs lib/rcoli/extensions.rb in rcoli-0.5.8
- old
+ new
@@ -5,10 +5,10 @@
end
define_method("value_of_#{name}") do
ivar = "@#{name}"
if (instance_variable_get(ivar))
- instance_variable_get(ivar).to_s
+ instance_variable_get(ivar)
else
nil
end
end