Module: FastUnderscore::ActiveSupportStringPatch
- Defined in:
- lib/fast_underscore.rb
Overview
Override the String#underscore method no matter when it was defined so that we“re sure it”s going to call the correct implementation.
Instance Method Summary collapse
Instance Method Details
#underscore ⇒ Object
56 57 58 |
# File 'lib/fast_underscore.rb', line 56 def underscore ActiveSupport::Inflector.underscore(self) end |