Sha256: efc74813c556df6fb8dd96345683877c7bb59d96436b8f09c7e829a2b3cd2832
Contents?: true
Size: 221 Bytes
Versions: 64
Compression:
Stored size: 221 Bytes
Contents
class Rack::App::Utils::Parser::Float def parse(str) str.to_f end def validate(str) case str.to_s when /^\d+\.\d+$/, /^\d+,\d+$/ return true else return false end end end
Version data entries
64 entries across 64 versions & 2 rubygems