Sha256: b0fe26cc85ea96827ca58d5309d7c9158c4af2f16efc2757a924e7d882270339

Contents?: true

Size: 608 Bytes

Versions: 45

Compression:

Stored size: 608 Bytes

Contents

fails:Hash#select returns a Hash of entries for which block is true
fails:Hash#select! is equivalent to keep_if if changes are made
fails:Hash#select! returns nil if no changes were made
fails:Hash#select! raises a RuntimeError if called on an empty frozen instance
fails:Hash#select! raises a RuntimeError if called on a frozen instance that would not be modified
fails:Hash#select! returns an Enumerator if called on a non-empty hash without a block
fails:Hash#select! returns an Enumerator if called on an empty hash without a block
fails:Hash#select! returns an Enumerator if called on a frozen instance

Version data entries

45 entries across 32 versions & 4 rubygems

Version Path
backports-3.10.2 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.10.1 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.10.1 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.10.0 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.10.0 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.9.1 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.9.1 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.9.0 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.9.0 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.8.0 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.8.0 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.7.0 frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.7.0 spec/tags/1.8.6/core/hash/select_spec.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/backports-3.6.8/spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.8 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.7 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.6 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.5 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.4 spec/tags/1.8.6/core/hash/select_spec.rb
backports-3.6.3 spec/tags/1.8.6/core/hash/select_spec.rb