method

upcase_first

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveSupport::Inflector
upcase_first(string) public

Converts the first character in the string to uppercase.

upcase_first('what a Lovely Day') # => "What a Lovely Day"
upcase_first('w')                 # => "W"
upcase_first('')                  # => ""
Show source
Register or log in to add new notes.