Sha256: ece35fd4bfecfb7d7aceac2b30f846c2a2e82639c721006690d816039c317dbd

Contents?: true

Size: 247 Bytes

Versions: 34

Compression:

Stored size: 247 Bytes

Contents

h.merge!(item: 1, item2: 3)

h.merge!

h.merge!(item, item: 1)

h.merge(item: 1)

ENUM.each_with_object({}) do |e, h|
  h.merge!(e => e)
end

ENUM.each_with_object({}) do |e, h|
  h[e] = e
end

h.merge!(item: 1)

h.merge!({item: 1})

h.merge!({})

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
fasterer-0.11.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.10.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.10.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.9.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.8.3 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.8.2 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.8.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.8.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.7.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.7.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.6.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.5.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.5.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.4.2 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.4.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.4.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.3.2 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.3.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.3.0 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb
fasterer-0.2.1 spec/support/analyzer/16_hash_merge_bang_vs_hash_brackets.rb