lib/cistern/collection.rb in cistern-2.3.0 vs lib/cistern/collection.rb in cistern-2.4.0
- old
+ new
@@ -1,5 +1,7 @@
module Cistern::Collection
+ include Cistern::HashSupport
+
BLACKLISTED_ARRAY_METHODS = [
:compact!, :flatten!, :reject!, :reverse!, :rotate!, :map!,
:shuffle!, :slice!, :sort!, :sort_by!, :delete_if,
:keep_if, :pop, :shift, :delete_at, :compact
].to_set # :nodoc: