lib/qrb/support/dress_helper.rb in qrb-0.2.0 vs lib/qrb/support/dress_helper.rb in qrb-0.3.0
- old
+ new
@@ -52,10 +52,10 @@
end
private
def value_to_s(value)
- return 'nil' if value.nil?
+ return 'null' if value.nil?
s = value.to_s
s = "#{s[0..25]}..." if s.size>25
s
end