Sha256: 2b7f9dbfc814175de37f4dc88205307cfeafced5b288ddef9580e8b5b80fd64e
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
require 'nano/string/blank' class String alias_method :whitespace?, :blank? end # _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # =begin test require 'test/unit' class TCString < Test::Unit::TestCase def test_whitespace? assert( ! "xyz".whitespace? ) assert( " ".whitespace? ) end end =end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | lib/nano/string/whitespace.rb |