Sha256: 28c21748e924e20f5d3d337f6e81e654e7836bd909a93926d748fa60e9aaf80c
Contents?: true
Size: 420 Bytes
Versions: 22
Compression:
Stored size: 420 Bytes
Contents
require 'facet/string/upcase' class Symbol def upcase to_s.upcase.to_sym end def upcase? to_s.upcase? end end # _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # =begin test require 'test/unit' class TCSymbol < Test::Unit::TestCase def test_upcase? assert( :TIS.upcase? ) assert( ! :Tis.upcase? ) end end =end
Version data entries
22 entries across 22 versions & 1 rubygems