lib/openwfe/expressions/raw_prog.rb in openwferu-0.9.12 vs lib/openwfe/expressions/raw_prog.rb in openwferu-0.9.12.863
- old
+ new
@@ -47,27 +47,27 @@
module OpenWFE
#
- # This is the class to extend to create a programmatic process definition.
+ # Extend this class to create a programmatic process definition.
#
# A short example :
- # <tt>
- # class MyProcessDefinition < OpenWFE::ProcessDefinition
- # def make
- # process_definition :name => "test1", :revision => "0" do
- # sequence do
- # set :variable => "toto", :value => "nada"
- # print "toto:${toto}"
- # end
- # end
- # end
- # end
+ #
+ # class MyProcessDefinition < OpenWFE::ProcessDefinition
+ # def make
+ # process_definition :name => "test1", :revision => "0" do
+ # sequence do
+ # set :variable => "toto", :value => "nada"
+ # print "toto:${toto}"
+ # end
+ # end
+ # end
+ # end
#
- # li = OpenWFE::LaunchItem.new(MyProcessDefinition)
- # engine.launch(li)
- # </tt>
+ # li = OpenWFE::LaunchItem.new(MyProcessDefinition)
+ # engine.launch(li)
+ #
#
class ProcessDefinition
def self.metaclass; class << self; self; end; end