Sha256: 0a8223ba9268876099005cd1184b65287b355024e4d4075c28ffda4d72eec49f

Contents?: true

Size: 189 Bytes

Versions: 14

Compression:

Stored size: 189 Bytes

Contents

def bar
  yield
end

def foo
  x = 42
  bar do
    x = "STR"
  end
  x
end

foo

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

Version data entries

14 entries across 7 versions & 1 rubygems

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