Works like a charm :) (plus, your way of optimizing the code is very educational!)
Thank you! On Nov 9, 9:43 pm, John Mettraux <[email protected]> wrote: > On Tue, Nov 09, 2010 at 04:46:27PM -0800, Fix Pe a wrote: > > > I found a minor bug when setting a 'jump to' command directly on a > > workitem when doing something like > > > workitem.command = ["jump", "participant"] > > > or > > > workitem.command = "jump to participant" > > > as the docs (http://ruote.rubyforge.org/exp/cursor.html) suggest. > > > The problem is on line 260 of workitem.rb: > >https://github.com/jmettraux/ruote/blob/ruote2.1/lib/ruote/workitem.r.... > > Right now it only considers the scenarii for setting "rewind" and > > "back 2" and it parses to integer, but it fails to consider that a > > "jump" does a string. > > > A simple fix would be like this:https://gist.github.com/670066 > > Hello Fix, > > many thanks for the detailed report. > > Is this fix OK ? > > https://github.com/jmettraux/ruote/commit/6ab4fd0c5e2527269162e679425... > > Cheers, > > -- > John Mettraux -http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
