Return to Snippet

Revision: 5922
at April 12, 2008 14:20 by inkdeep


Initial Code
s.gsub!(/\ +/, '-')

Initial URL
http://snippets.dzone.com/posts/show/4589

Initial Description

                                

Initial Title
spaces to dashes

Initial Tags
regex, ruby

Initial Language
Ruby