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