public
Description: the [OpenWFEru] workflow and BPM engine (ruby)
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote.git
Search Repo:
tiny doc upgrade
jmettraux (author)
Sun May 11 21:43:58 -0700 2008
commit  bc8ae188569bbc9c284d2db50f3cdd80dd1f3104
tree    030ba3fc5b9686f11e8da3b2e228ceda08c088cf
parent  b91e374780dd83eaba7f7172c2fcc1250c0a9bf6
...
84
85
86
87
 
88
89
90
91
 
92
93
94
95
 
96
97
98
...
143
144
145
146
 
147
148
149
150
 
 
 
151
152
153
...
84
85
86
 
87
88
89
90
 
91
92
93
94
 
95
96
97
98
...
143
144
145
 
146
147
148
149
 
150
151
152
153
154
155
0
@@ -84,15 +84,15 @@ module OpenWFE
0
         def apply (workitem)
0
 
0
             name = @fei.expression_name[0, 1]
0
- text = fetch_text_content(workitem)
0
+ text = fetch_text_content workitem
0
 
0
             method = MAP[name]
0
 
0
- result = self.send(method, text, workitem)
0
+ result = self.send method, text, workitem
0
 
0
             workitem.set_result(result) if result != nil
0
 
0
- reply_to_parent(workitem)
0
+ reply_to_parent workitem
0
         end
0
 
0
         protected
0
@@ -143,11 +143,13 @@ module OpenWFE
0
     #
0
     # Note that it's actually easier to write :
0
     #
0
- # _set :filed => "list" do
0
+ # _set :field => "list" do
0
     # reval "[ 'a', 'b', 'c' ]"
0
     # end
0
     #
0
- # but it's less secure.
0
+ # but it's less secure. The best way might be :
0
+ #
0
+ # set :field => "list", :value => [ 'a', 'b', 'c' ]
0
     #
0
     class AttributeExpression < FlowExpression
0
 
...
223
224
225
 
 
226
227
228
...
223
224
225
226
227
228
229
230
0
@@ -223,6 +223,8 @@ module OpenWFE
0
         #
0
         def self.eval_ruby_process_definition (code, safety_level=2)
0
 
0
+ # TODO : insert tree check
0
+
0
             #puts "\nin:\n#{code}\n"
0
 
0
             code, is_wrapped = wrap_code code

Comments

    No one has commented yet.