Sha256: 91fd295be8e31fadedd9a6175edbf98ee3832cb333f4baefa9ee0560fd22b1a5
Contents?: true
Size: 304 Bytes
Versions: 16
Compression:
Stored size: 304 Bytes
Contents
module A # @implements A def count if block_given? n = 0 each do |_| n = n + 1 end n else 0 end end # ok block_given? # !expects NoMethodError: type=(::A.module & ::Module), method=no_such_method_in_module no_such_method_in_module end
Version data entries
16 entries across 16 versions & 1 rubygems