Class: Jack::Task

Inherits:
Rake::Task
  • Object
show all
Defined in:
lib/jack.rb

Direct Known Subclasses

Queues::Task

Instance Method Summary collapse

Instance Method Details

#executeObject



10
11
12
13
14
15
# File 'lib/jack.rb', line 10

def execute
  Thread.current[:task] = self
  super
ensure
  Thread.current[:task] = nil
end