lib/ruote/exp/fe_wait.rb in ruote-2.1.10 vs lib/ruote/exp/fe_wait.rb in ruote-2.1.11
- old
+ new
@@ -40,10 +40,13 @@
#
# (the underscore prevents collision with Ruby's sleep method)
#
# == :for and :until
#
- # TODO
+ # 'wait' accepts as well :
+ #
+ # wait :for => '30d' # wait for 30 days
+ # wait :until => '2011/12/10 12:00:00' # any parseable date/time format
#
class WaitExpression < FlowExpression
names :wait, :sleep