class String

Public Instance Methods

camelize_dfl() click to toggle source
# File lib/caseconv/app.rb, line 5
def camelize_dfl
  camelize.sub(/^[A-Z]/) { |c| c.downcase}
end
kebab() click to toggle source
# File lib/caseconv/app.rb, line 9
def kebab
  underscore.gsub(/_/, '-')
end