/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
s.gsub!(/\ +/, '-')
URL: http://snippets.dzone.com/posts/show/4589