Sha256: b1b6994d35f193f84049b94ccf38f2fb9cd9c4aa2751b5267b5aa4bb44d121b7

Contents?: true

Size: 207 Bytes

Versions: 12

Compression:

Stored size: 207 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 } -> C
  def log : (Integer) -> nil
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/instance_eval.rb
typeprof-0.7.0 smoke/instance_eval.rb
typeprof-0.6.1 smoke/instance_eval.rb
typeprof-0.6.0 smoke/instance_eval.rb
typeprof-0.5.4 smoke/instance_eval.rb
typeprof-0.5.3 smoke/instance_eval.rb
typeprof-0.5.2 smoke/instance_eval.rb
typeprof-0.5.1 smoke/instance_eval.rb
typeprof-0.5.0 smoke/instance_eval.rb
typeprof-0.4.2 smoke/instance_eval.rb
typeprof-0.4.1 smoke/instance_eval.rb
typeprof-0.4.0 smoke/instance_eval.rb