Sha256: ffae4ff13aa30882b6438e704968f36c1215fbab25440c0f99db6e93f03436bc

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

def bar(x)
  x
end

def foo
  yield 42
end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

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