jashkenas--coffeescript/documentation/coffee/prototypes.coffee

2 lines
47 B
CoffeeScript
Raw Normal View History

2010-02-28 01:12:47 +00:00
String::dasherize: ->
this.replace(/_/g, "-")