class Componentr::Jobr
Public Class Methods
new()
click to toggle source
# File lib/componentr/jobr.rb, line 2 def initialize end
Public Instance Methods
process(options, wargs, input)
click to toggle source
# File lib/componentr/jobr.rb, line 6 def process(options, wargs, input) begin wargs['history'] = {} if ! wargs['history'] wargs['history']["#{Time.now.to_i}#{rand}"] = "processed by #{self.class}" wargs['status'] = 'success' if wargs wargs rescue Exception => e $stderr.puts "run.process" + e.inspect end end