Sha256: f230356f2bb74da9f0e68f5a75b2a09b5132544a3d6b01537de4fcda173b6172

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

def foo(ary1, ary2)
  ary1.each do |x|
    ary2[0] = x
  end
  ary2
end

foo([1], ["str"])

__END__
# Classes
class Object
  private
  def foo: ([Integer], [String]) -> ([Integer | String])
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/block10.rb
typeprof-0.9.1 smoke/block10.rb
typeprof-0.9.0 smoke/block10.rb