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

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top