Sha256: 76a950ec1fe71d581ebec690e473838b77934f04b31c87cb5a48aad2c936c7ae
Contents?: true
Size: 316 Bytes
Versions: 4
Compression:
Stored size: 316 Bytes
Contents
def log1(x); end def log2(x); end def log3(x); end def f(&blk) log3( blk.call do |x| log1(x) :b end ) :d end f do |&blk| log2(blk.call(:a)) :c end __END__ # Classes class Object def log1 : (:a) -> nil def log2 : (:b) -> nil def log3 : (:c) -> nil def f : { -> :c } -> :d end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.7.0 | smoke/block-blockarg.rb |
typeprof-0.6.1 | smoke/block-blockarg.rb |
typeprof-0.6.0 | smoke/block-blockarg.rb |
typeprof-0.5.4 | smoke/block-blockarg.rb |