class String

def upcase_first

See ActiveSupport::Inflector.upcase_first.

''.upcase_first # => ""
'w'.upcase_first # => "W"
'what a Lovely Day'.upcase_first # => "What a Lovely Day"

Converts the first character to uppercase.
def upcase_first
  ActiveSupport::Inflector.upcase_first(self)
end