win32utils-devel@rubyforge.org
2004-Feb-21 04:36 UTC
[Win32utils-devel] win32-taskscheduler thoughts
I''ve updated taskscheduler.c and taskscheduler.h. The method names are now more Ruby-like (though I have to change a couple yet), and I''ve shortened the constant names, as well as moved the constants over to the .h file. I was thinking we should merge a few of these methods. I think "set_target_computer" and "new_work_item" could both be rolled into the "new" method so that you would have something like: TaskScheduler.new(name,triggers,machine=localhost) What do you think? Dan _________________________________________________________________ Click, drag and drop. My MSN is the simple way to design your homepage. http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/
win32utils-devel@rubyforge.org
2004-Feb-21 04:42 UTC
[Win32utils-devel] win32-taskscheduler thoughts
----- Original Message ----- From: <win32utils-devel@rubyforge.org> To: <win32utils-devel@rubyforge.org> Sent: Saturday, February 21, 2004 6:28 PM Subject: [Win32utils-devel] win32-taskscheduler thoughts> I''ve updated taskscheduler.c and taskscheduler.h. The method names arenow> more Ruby-like (though I have to change a couple yet), and I''ve shortened > the constant names, as well as moved the constants over to the .h file. > > I was thinking we should merge a few of these methods. I think > "set_target_computer" and "new_work_item" could both be rolled into the > "new" method so that you would have something like: > > TaskScheduler.new(name,triggers,machine=localhost) > > What do you think? >I agree with you. Go ahead as you think please. Regards, Park Heesob