Sha256: c8ebbb54d531fa5b435f586c72363d0124659b2ffc031b82eb8c971e129c27f0

Contents?: true

Size: 544 Bytes

Versions: 7

Compression:

Stored size: 544 Bytes

Contents

== String#capitalized?

String#capitalized? return true if a string begins with a capitalized
letter, false otherwise.

  require 'facets/string/capitalized'

  'Abc'.assert.capitalized?

== String#downcase?

In addition String#downcase? is provided which checks to see if the
whole string is composed of lowercase letters.

  'abc'.assert.downcase?

  #'abc'.assert.lowercase?

== String#upcase?

And String#upcase? which checks to see if the whole string is composed
of uppercase letters.

  'ABC'.assert.upcase?

  #'ABC'.assert.uppercase?

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/string/capitalized.rdoc
facets-2.9.3 qed/core/string/capitalized.rdoc
facets-2.9.2 qed/core/string/capitalized.rdoc
facets-2.9.1 qed/core/string/capitalized.rdoc
facets-2.9.0 qed/core/string/capitalized.rdoc
facets-2.9.0.pre.2 qed/core/string/capitalized.rdoc
facets-2.9.0.pre.1 qed/core/string/capitalized.rdoc