Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 132 Bytes
require 'Test'
include Test
plan 2
def invokeLikeSo(a)
yield a
yield 2
end
invokeLikeSo(1) { |x| is x, x, 'yield block test' }