Sha256: 08fce94486ebd353f440aae7dc7dd5364042e64b36bb6f46bc3e9f7ce15f4a2b
Contents?: true
Size: 304 Bytes
Versions: 14
Compression:
Stored size: 304 Bytes
Contents
F = -> x { "str" } def foo(&blk) blk.call(:sym, &F) end foo do |dummy, &blk| blk.call(42) end # truly expected: # Object#foo :: (&Proc[(Symbol, &Proc[(Integer) -> String]) -> String]) -> String __END__ # Classes class Object def foo : { (:sym) { (Integer) -> String } -> String } -> String end
Version data entries
14 entries across 7 versions & 1 rubygems