Sha256: 4e0c68e29c45ad4f49e1c6f64641df1a14abcf618b5ffa4fb72501347461fc40

Contents?: true

Size: 248 Bytes

Versions: 3

Compression:

Stored size: 248 Bytes

Contents

def bar(x)
  x
end

def foo
  yield 42
end

foo do |x|
  bar(x)
  x = "str"
  redo if rand < 0.5
  x
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

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