Sha256: 7c7b98513f564e5c4f343cbf6d1ff4c5ab0a4fe63d87af6bba27f407a78775e4
Contents?: true
Size: 297 Bytes
Versions: 16
Compression:
Stored size: 297 Bytes
Contents
if RUBY_VERSION < '1.9.2' class Float def inspect big = "%.20f" % self # big! small = "%f" % self if small.to_f == self small.sub!(/0+$/, '') small.sub(/\.$/, '.0') # reformat, see spec else big end end end end
Version data entries
16 entries across 16 versions & 1 rubygems