lib/parameters/instance_param.rb in parameters-0.1.1 vs lib/parameters/instance_param.rb in parameters-0.1.2
- old
+ new
@@ -32,10 +32,10 @@
# Returns a String representation of the instance param.
#
def to_s
text = " #{@name}"
- text << " [#{value}]" if value
+ text << " [#{value.inspect}]" if value
text << "\t#{@description}" if @description
return text
end