Sha256: 75d234e95591b86ffbabfc032615423578902699374bd2c67ccef3b8e5625ca2

Contents?: true

Size: 250 Bytes

Versions: 11

Compression:

Stored size: 250 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 x) -> (Integer | String)
  def foo: { (Integer) -> String } -> String
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/redo1.rb
typeprof-0.15.3 smoke/redo1.rb
typeprof-0.15.2 smoke/redo1.rb
typeprof-0.15.1 smoke/redo1.rb
typeprof-0.15.0 smoke/redo1.rb
typeprof-0.14.1 smoke/redo1.rb
typeprof-0.14.0 smoke/redo1.rb
typeprof-0.13.0 smoke/redo1.rb
typeprof-0.12.0 smoke/redo1.rb
typeprof-0.11.0 smoke/redo1.rb
typeprof-0.10.0 smoke/redo1.rb