Sha256: 56f5f4cc195ce6da39437c9c0a21bb52ae843b6f2ac32e850e64a3b559db7bf4

Contents?: true

Size: 174 Bytes

Versions: 1

Compression:

Stored size: 174 Bytes

Contents

def foo
  h = { a: 42 }
  h0 = h.merge!({ b: "str" })
  return h0, h
end

__END__
# Classes
class Object
  private
  def foo : -> [{a: Integer}, {a: Integer, b: String}]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/hash-merge-bang.rb