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