Sha256: 90336d7308c941838f4509d38f40a79cb704bec1d1b0dd79c561fa4230650810

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

require 'nano/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

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 lib/nano/symbol/upcase.rb