lib/parameters/class_param.rb in parameters-0.2.1 vs lib/parameters/class_param.rb in parameters-0.2.2
- old
+ new
@@ -54,14 +54,16 @@
return text
end
#
+ # Inspects the class parameter.
+ #
# @return [String]
# Inspection of the class params value.
#
def inspect
- @value.inspect
+ "#<#{self.class}: #{@value.inspect}>"
end
end
end