Sha256: 65e3ef3eda610f8b0f04ae1662c35e97eca6cee1a34272696f9a3441f39356ea
Contents?: true
Size: 213 Bytes
Versions: 34
Compression:
Stored size: 213 Bytes
Contents
class String #see if string is numeric def is_number? true if Float(self) rescue false end def trim trimmed = self.strip if trimmed == nil self else trimmed end end end
Version data entries
34 entries across 34 versions & 1 rubygems