Displaying 1 result from an estimated 1 matches for "dtd_on".
Did you mean:
did_ok
2007 Mar 07
10
MiddleMan.worker blocks?
....worker(session[job])
end
...
end
class XmlReportWorker < BackgrounDRb::Worker::RailsBase
include DRbUndumped
...
def do_work(args)
@progress = 0
@report_start_time = args[:start_time]
@report_params = args[:report_params]
constraints = args[:constraints]
dtd_only = args[:dtd_only]
io = Tmpfile.new(''csv_report'',''/var/tmp'')
@path = io.path
xml = Builder::XmlMarkup.new(:indent => 2, :target => io)
xml.instruct!
(dtd_only.nil? or !dtd_only) ? data(xml,constraints) : dtd(xml)
io.close...