Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/helpers/string.rb

Instance Method Summary collapse

Instance Method Details

#downcaseFirstLetterObject



3
4
5
6
7
# File 'lib/helpers/string.rb', line 3

def downcaseFirstLetter
  duplicate = self.dup
  duplicate[0, 1] = duplicate[0, 1].downcase
  duplicate
end