Sha256: f0d347e160235f316e23adfeb394ec56b4dd66fc69f6d7772d7fc74748444ae2
Contents?: true
Size: 262 Bytes
Versions: 1
Compression:
Stored size: 262 Bytes
Contents
# encoding: utf-8 # Numeric class Numeric # return is ascii or not # # ==== Examples # # 1,127,128 case # # 1.ascii? # => return true # 127.ascii? # => return true # 128.ascii? # => return false # def ascii? self < 128 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tbpgr_utils-0.0.151 | lib/open_classes/numeric/is_ascii.rb |