Module: Sanity::Refinements::Arrays

Defined in:
lib/sanity/refinements/arrays.rb

Overview

Array refinements based on ActiveSupport methods.

Using refinements as to:

1) not pollute the global namespace
2) not conflict with ActiveSupport in a Rails based project

These methods are defined in the way as needed in this gem. They are not meant to replace the more robust ActiveSupport methods.

Defining these here, removes the need for adding ActiveSupport as a dependency