lib/refinements/hashes.rb in refinements-5.2.0 vs lib/refinements/hashes.rb in refinements-6.0.0

- old
+ new

@@ -1,11 +1,10 @@ # frozen_string_literal: true module Refinements # Refinements for hashes. module Hashes - # rubocop:disable Metrics/BlockLength refine Hash do def except *keys reject { |key, _value| keys.include? key } end @@ -50,8 +49,7 @@ values = block.parameters.map { |(_type, key)| self[key] } yield values end end - # rubocop:enable Metrics/BlockLength end end