Sha256: 8e20ce964fb00adbef1479c013a3f3ec1e7fa89d49da8c29e5ed213b29b8f8d0

Contents?: true

Size: 154 Bytes

Versions: 3

Compression:

Stored size: 154 Bytes

Contents

def swap(a)
  [a[1], a[0]]
end
a = [42, "str"]
swap(a)

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

Version data entries

3 entries across 3 versions & 1 rubygems

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