Sha256: 6c3c36406d3ad847d91eb84f09c25893037e011b0f4c6a49dfad0bdf68aabb48
Contents?: true
Size: 316 Bytes
Versions: 11
Compression:
Stored size: 316 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 F: ^(Integer) -> String private def foo: { (:sym) -> String } -> String end
Version data entries
11 entries across 11 versions & 1 rubygems