lib/simple_ext/hash/except.rb in simple_ext-0.1.1 vs lib/simple_ext/hash/except.rb in simple_ext-0.1.2

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + class Hash # Returns a hash that includes everything except given keys. # hash = { a: true, b: false, c: nil } # hash.except(:c) # => { a: true, b: false } # hash.except(:a, :b) # => { c: nil }