Sha256: e5216a3a8a13fb1c5bcd497b2af2f0896456ba8b933d6fbb7888cf5a3b721363
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
module Polyfill module V2_4 module Hash module CompactE module Method def compact! reject! { |_, v| v.nil? } end if RUBY_VERSION < '2.4.0' end if RUBY_VERSION < '2.4.0' refine ::Hash do include Method end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polyfill-0.2.0 | lib/polyfill/v2_4/hash/compact_e.rb |