examples/openwferu.rb in openwferu-0.9.7 vs examples/openwferu.rb in openwferu-0.9.8
- old
+ new
@@ -34,18 +34,16 @@
#
# a process definition
class TheProcessDefinition0 < OpenWFE::ProcessDefinition
- def make
- sequence do
- concurrence do
- participant :alice
- participant :bob
- end
- participant :summarize
+ sequence do
+ concurrence do
+ participant :alice
+ participant :bob
end
+ participant :summarize
end
end
#
# launching the process
@@ -53,5 +51,6 @@
li = OpenWFE::LaunchItem.new(TheProcessDefinition0)
li.initial_comment = "please give your impressions about http://ruby-lang.org"
engine.launch(li)
+