# File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 41 def appMain(argv) ts = TimeSheetReceiver.new('tj3ts_receiver') @rc.configure(ts, 'global') @rc.configure(ts, 'timesheets') @rc.configure(ts, 'timesheets.receiver') ts.workingDir = @workingDir if @workingDir ts.dryRun = @dryRun ts.processEmail 0 end
# File lib/taskjuggler/apps/Tj3TsReceiver.rb, line 29 def processArguments(argv) super do @opts.banner += This program can be used to receive filled-out time sheets via email. Itreads the emails from STDIN and extracts the time sheet from the attachedfiles. The time sheet is checked for correctness. Good time sheets are filedaway. The sender will be informed by email that the time sheets was acceptedor rejected. end end
Generated with the Darkfish Rdoc Generator 2.