class String

def capitalize_first

Returns:
  • (String) - The capitalized text
def capitalize_first
  "#{self[0, 1].upcase}#{self[1, length]}"
end