Sha256: 2c9a4557e112df849021c2b7b3e1462a0c98e689a07a7e3e1c45b1aaeac836d3

Contents?: true

Size: 209 Bytes

Versions: 8

Compression:

Stored size: 209 Bytes

Contents

class C
  def self.foo(&blk)
    new.instance_eval(&blk)
  end
  def log(n)
  end
end

C.foo do
  log(42)
end

__END__
# Classes
class C
  def self.foo: { (C) -> nil } -> nil
  def log: (Integer n) -> nil
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/instance_eval.rb
typeprof-0.15.3 smoke/instance_eval.rb
typeprof-0.15.2 smoke/instance_eval.rb
typeprof-0.15.1 smoke/instance_eval.rb
typeprof-0.15.0 smoke/instance_eval.rb
typeprof-0.14.1 smoke/instance_eval.rb
typeprof-0.14.0 smoke/instance_eval.rb
typeprof-0.13.0 smoke/instance_eval.rb