lib/openwfe/expressions/fe_wait.rb in openwferu-0.9.16 vs lib/openwfe/expressions/fe_wait.rb in openwferu-0.9.17
- old
+ new
@@ -35,11 +35,12 @@
# "made in Japan"
#
# John Mettraux at openwfe.org
#
-require 'openwfe/expressions/time'
+#require 'openwfe/expressions/time'
+require 'openwfe/expressions/fe_when'
module OpenWFE
#
@@ -62,10 +63,10 @@
#
# Participant 'toto' will receive a workitem after a certain condition
# expressed directly in Ruby evaluates to true.
#
# 'wait' is different than 'when' : when it times out (if a timeout is set,
- # the block ceases and the flow resumes. On a timeout, 'when' will not
+ # the wait ceases and the flow resumes. On a timeout, 'when' will not
# execute its nested 'consequence' child.
#
class WaitExpression < WaitingExpression
names :wait