Method: Bluth::Gob#perform

Defined in:
lib/bluth.rb

#performObject



317
318
319
320
321
322
323
324
325
326
# File 'lib/bluth.rb', line 317

def perform
  @attempts += 1
  Familia.ld "PERFORM: #{self.to_hash.inspect}" if Familia.debug?
  @stime = Time.now.utc.to_f
  save # update the time
  self.handler.prepare if self.class.respond_to?(:prepare)
  self.handler.perform @data
  @etime = Time.now.utc.to_f
  save # update the time
end