lib/refinements/arrays.rb in refinements-5.1.0 vs lib/refinements/arrays.rb in refinements-5.2.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module Refinements
- # Refinements for Arrays.
+ # Refinements for arrays.
module Arrays
refine Array do
def compress
compact.reject(&:empty?)
end