Sha256: f47716957e7f8d77420d851fe1ceaa071fd3eba952fe0d09c6bd5ec040c9ab16
Contents?: true
Size: 501 Bytes
Versions: 34
Compression:
Stored size: 501 Bytes
Contents
# Should detect only the block.call, not the others. def call_me(number, zumba, &block) 4.call [1,2].call block.call b.call abakus(:red).calling() end # Should detect only the first block call. def call_meeee(number, zumba, &block) block.call() block.call end # Shouldn't detect the block call since it isn't in the arguments. def call_meeee(number, zumba) block.call end # Should detect the block call with arguments. def call_meeee(number, zumba, &block) block.call(number) end
Version data entries
34 entries across 34 versions & 1 rubygems