Sha256: 838685c72dcdc1e12f44003b4f300bb652ad0365ff94c124b9b5419f75b1e9a2

Contents?: true

Size: 249 Bytes

Versions: 7

Compression:

Stored size: 249 Bytes

Contents

def bar
  baz do
    yield
  end
end

def baz
  yield
end

def foo
  a = 42
  bar do
    a = "str"
  end
  a
end

foo

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

Version data entries

7 entries across 7 versions & 1 rubygems

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