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