Sha256: 4c796b003a812eccc061da8644ac8c0b2fa4de3af026a616e4431417721b4e3c
Contents?: true
Size: 168 Bytes
Versions: 4
Compression:
Stored size: 168 Bytes
Contents
# frozen_string_literal: true class Hash def except(*keys) dup.except!(*keys) end def except!(*keys) keys.each { |key| delete(key) } self end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jwt_easy-1.0.0 | lib/jwt_easy/core_ext/hash.rb |
jwt_easy-0.2.2 | lib/jwt_easy/core_ext/hash.rb |
jwt_easy-0.2.0 | lib/jwt_easy/core_ext/hash.rb |
jwt_easy-0.1.0 | lib/jwt_easy/core_ext/hash.rb |