Sha256: 4897fc85282a84ccfc57d2e88de42c75be10a5681ec4ebeba5ee271d1324df77
Contents?: true
Size: 196 Bytes
Versions: 33
Compression:
Stored size: 196 Bytes
Contents
require 'spec_helper' describe Hash do it 'should return a hash without the speicified keys' do a = {one: 1, two: 2, three: 3} expect(a.without(:one, :three)).to eq({two: 2}) end end
Version data entries
33 entries across 33 versions & 1 rubygems