We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
underscore
In Rails String#underscore translates dashes - into _.
String#underscore
-
_
Output from pry using Rails:
pry
[15] pry(main)> "credable-searches".underscore => "credable_searches"
In this library dashes keep being dashes.
Output from console calling underscore
underscore: credable-searches -> credable-searches