Skip to content

Instantly share code, notes, and snippets.

@mweppler

mweppler/titlize.rb

Created Sep 9, 2013
Embed
What would you like to do?
def titlize(the_title)
system("echo '#{the_title.downcase.gsub!(' ', '-')}' | pbcopy")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment