src code

class method ActiveSupport.String.underscore

ActiveSupport.String.underscore(string) → String

Emulates Prototype's String.prototype.underscore