Sha256: 4d46f6a682eb41aed82757c804d7b9a108e70271534745904cb41fbfd18227bc

Contents?: true

Size: 193 Bytes

Versions: 14

Compression:

Stored size: 193 Bytes

Contents

def foo(&blk)
  $blk = blk
  nil
end

foo {|n| }

$blk.call(42)

__END__
# Global variables
$blk: ^(Integer) -> nil

# Classes
class Object
  private
  def foo: { (Integer) -> nil } -> nil
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/block14.rb
typeprof-0.15.3 smoke/block14.rb
typeprof-0.15.2 smoke/block14.rb
typeprof-0.15.1 smoke/block14.rb
typeprof-0.15.0 smoke/block14.rb
typeprof-0.14.1 smoke/block14.rb
typeprof-0.14.0 smoke/block14.rb
typeprof-0.13.0 smoke/block14.rb
typeprof-0.12.0 smoke/block14.rb
typeprof-0.11.0 smoke/block14.rb
typeprof-0.10.0 smoke/block14.rb
typeprof-0.9.2 smoke/block14.rb
typeprof-0.9.1 smoke/block14.rb
typeprof-0.9.0 smoke/block14.rb