Sha256: 105329a4c36e7d73774c2e5a53e51cf1ea39570fedd5700dd3b6759c863887ad

Contents?: true

Size: 172 Bytes

Versions: 3

Compression:

Stored size: 172 Bytes

Contents

def foo(a)
  a.replace(["str"])
  a
end

foo([1, 2, 3])

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/array-replace.rb
typeprof-0.9.1 smoke/array-replace.rb
typeprof-0.9.0 smoke/array-replace.rb