Flowdock
method

upcase_first

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: String
upcase_first() public

Converts just the first character to uppercase.

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

See ActiveSupport::Inflector.upcase_first.

Show source
Register or log in to add new notes.