class String

Public Instance Methods

humanize() click to toggle source
# File lib/ext/string.rb, line 3
def humanize
  include?("-") ? self.split("-").join(" ").downcase : self
end