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

4 lines
49 B
CoffeeScript

String::dasherize = ->
this.replace /_/g, "-"