Flowdock
method

upcase_first

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActiveSupport::Inflector
upcase_first(string) public

Converts just the first character 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.