Sha256: c9c36f345b3b6f10a83f905d26687c827d8a6d7ac39d8122e6d73a6b016e2b1e

Contents?: true

Size: 172 Bytes

Versions: 7

Compression:

Stored size: 172 Bytes

Contents

def foo(n)
  z = "str"
  n.times {|i| z = i }
  # TODO: n.times { z = 42 }
  z
end

foo(42)

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typeprof-0.3.0 smoke/int_times.rb
typeprof-0.2.0 smoke/int_times.rb
typeprof-0.1.4 smoke/int_times.rb
typeprof-0.1.3 smoke/int_times.rb
typeprof-0.1.2 smoke/int_times.rb
typeprof-0.1.1 smoke/int_times.rb
typeprof-0.1.0 smoke/int_times.rb