Curious about this. Can anyone cite a practical benefit of
ActiveSupport’s modularization of it’s extensions? What I mean by
pratical is a use other than just “cool, see they are all in modules”.
To be sure you know what I’m talking about here is ActiveSupports Hash
extension:
class Hash
include ActiveSupport::CoreExtensions::Keys
include ActiveSupport::CoreExtensions::IndifferentAccess
include ActiveSupport::CoreExtensions::ReverseMerge
include ActiveSupport::CoreExtensions::Conversions
include ActiveSupport::CoreExtensions::Diff
end
Thanks,
T.