lib/refinements/arrays.rb in refinements-8.2.2 vs lib/refinements/arrays.rb in refinements-8.3.0

- old
+ new

@@ -1,7 +1,8 @@ # frozen_string_literal: true module Refinements + # Provides additional enhancements to the Array primitive. module Arrays refine Array do def compress = compact.reject(&:empty?) def compress! = replace(compress)