On Thu, Aug 20, 2009 at 4:32 AM, Enrico Bianco<[email protected]> wrote: > > Turns out you need single quotes around the left-hand value as well. > So the loop should look more like this: > > _loop :break_if => "'${/pending_documents}' == ''" do > # Some processing that slowly empties "pending_documents" > end > > Otherwise the substitution yields " = ''" as a test, when the > intention is "'' == ''". >_<
Hi Enrico, I made sure 2.0 is consistent with that behaviour. http://github.com/jmettraux/ruote/commit/020236ba13744cf0a2b40d14dcc1f2881d1b33f8 Maybe writing "${/pending_documents} == " is simpler. Sorry for the fuzziness here. 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 -~----------~----~----~----~------~----~------~--~---
