Hi, here's a new feature of ruote 2.0's process definition language I've been requested (jpr5) to implement : block passing for subprocesses.
http://github.com/jmettraux/ruote/blob/5394e46eab5b1bf64e532b2ebaaf55af88c2de94/test/functional/eft_23_apply.rb#L110-121 It's a bit ruby-ish, but instead of 'yield', there's an 'apply'. This apply replaces ruote 1.0's 'eval'. Note that apply and subprocess now turn their attributes into variables in their target block/tree_segment, subprocess instance respectively. The next thing I have to port from ruote 1.0 to 2.0 is subprocess :ref => 'http://example.com/my_proc_def.rb', I'll also look at a way to alias subprocess available via a URI through a simple name. Note, ruote 2.0 also sports a new improved jump expression/command, allowing things like : http://github.com/jmettraux/ruote/blob/5394e46eab5b1bf64e532b2ebaaf55af88c2de94/test/functional/eft_14_cursor.rb#L130-137 Best regards, -- 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 -~----------~----~----~----~------~----~------~--~---
