class String

Public Instance Methods

studlycaps() click to toggle source
# File lib/core_ext/string.rb, line 2
def studlycaps
  self.gsub!(/..?/, &:capitalize)
end