method

upcase_first

Importance_1
v6.0.0 - 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                  # => ""
Show source
Register or log in to add new notes.