lib/refinements/arrays.rb in refinements-7.18.0 vs lib/refinements/arrays.rb in refinements-8.0.0
- old
+ new
@@ -9,21 +9,11 @@
def compress!
replace compress
end
- def exclude *elements
- warn "[DEPRECATION]: #exclude is deprecated, use #excluding instead."
- excluding(*elements)
- end
-
def excluding *elements
self - elements.flatten
- end
-
- def include *elements
- warn "[DEPRECATION]: #include is deprecated, use #including instead."
- including(*elements)
end
def including *elements
self + elements.flatten
end