Value of ActiveSupport's Modularization

T

Trans

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::Hash::Keys
include ActiveSupport::CoreExtensions::Hash::IndifferentAccess
include ActiveSupport::CoreExtensions::Hash::ReverseMerge
include ActiveSupport::CoreExtensions::Hash::Conversions
include ActiveSupport::CoreExtensions::Hash::Diff
end

Thanks,
T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top