class String

Public Instance Methods

titlecase() click to toggle source
# File lib/replacer_bot/helpers.rb, line 2
def titlecase
  bits = self.split ''
  bits[0] = UnicodeUtils.upcase(bits[0])

  bits.join ''
end
upcase() click to toggle source
# File lib/replacer_bot/helpers.rb, line 9
def upcase
  UnicodeUtils.upcase self
end