test/test_helper.rb
# write a tmp recipe with code, return the path
write a tmp recipe with code, return the path
write a tmp recipe with code return the path
def recipe(code)
      File.join(@tmpdir, 'recipe.sinew').tap do
        IO.write(_1, code)
      end
    end
def recipe ( code ) File . join ( @tmpdir , 'recipe.sinew' ) . tap do IO . write ( _1 , code ) end end
write a tmp recipe with code, return the path
write a tmp recipe with code return the path
code
<not_specific>