Sha256: cc3312a2cefcf5b99a102c231264a0741ebb8f4beefc5d754f30f45de5e8591f

Contents?: true

Size: 151 Bytes

Versions: 36

Compression:

Stored size: 151 Bytes

Contents

def foo(x)
  yield 42
end

s = "str"
foo(1) do |x|
  s
end

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

Version data entries

36 entries across 18 versions & 1 rubygems

Version Path
typeprof-0.7.0 smoke/demo7.rb
typeprof-0.7.0 smoke/block2.rb
typeprof-0.6.1 smoke/demo7.rb
typeprof-0.6.1 smoke/block2.rb
typeprof-0.6.0 smoke/block2.rb
typeprof-0.6.0 smoke/demo7.rb
typeprof-0.5.4 smoke/demo7.rb
typeprof-0.5.4 smoke/block2.rb
typeprof-0.5.3 smoke/demo7.rb
typeprof-0.5.3 smoke/block2.rb
typeprof-0.5.2 smoke/demo7.rb
typeprof-0.5.2 smoke/block2.rb
typeprof-0.5.1 smoke/demo7.rb
typeprof-0.5.1 smoke/block2.rb
typeprof-0.5.0 smoke/demo7.rb
typeprof-0.5.0 smoke/block2.rb
typeprof-0.4.2 smoke/block2.rb
typeprof-0.4.2 smoke/demo7.rb
typeprof-0.4.1 smoke/demo7.rb
typeprof-0.4.1 smoke/block2.rb