>>>>> "M" == Max Ischenko <max / malva.com.ua> writes:

M> def patchFile(fname, &block)
M> 	IO.foreach(fname) block
                          ^^^^^
                          &block
M> end
	
 You have forgotten `&'


Guy Decoux