composite?, to_s, |
29 30 31 32 33 34 35
# File 'lib/types/numeric.rb', line 29 def self.parse(input) case input when Numeric then input when /\./ then Float(input) else Integer(input) end end