Sha256: 63157e732a500003c62cfc475924f539259c3379f694e23422b99da71ce323f8

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require 'nano/string/capitalized'
require 'nano/symbol/capitalize'

class Symbol

  def capitalized?
    to_s.capitalized?
  end

end


#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
=begin test

  require 'test/unit'

  class TCSymbol < Test::Unit::TestCase

    def test_capitalized?
      assert( :Tis.capitalized? )
      assert( ! :tis.capitalized? )
    end

  end

=end

Version data entries

1 entries across 1 versions & 1 rubygems

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