Module: FastCamelize::ActiveSupportDelayedPatch
- Included in:
- ActiveSupport::Inflector
- Defined in:
- lib/fast_camelize.rb
Overview
Override ActiveSupport::Inflector::method_added so that if and when the camelize method gets defined, we can immediately redefine it.
Instance Method Summary collapse
Instance Method Details
#method_added(method) ⇒ Object
58 59 60 61 |
# File 'lib/fast_camelize.rb', line 58 def method_added(method) FastCamelize.active_support if method == :camelize super end |