module Rake::DSL
def file(*args, &block) # :doc:
end
end
end
end
outfile.puts line
while line = infile.gets
open("config.template") do |infile|
open("config.cfg", "w") do |outfile|
file "config.cfg" => ["config.template"] do
Example:
Declare a file task.
def file(*args, &block) # :doc: Rake::FileTask.define_task(*args, &block) end