Module: SuckerPunch

Defined in:
lib/sucker_punch.rb,
lib/sucker_punch/job.rb,
lib/sucker_punch/queue.rb,
lib/sucker_punch/railtie.rb,
lib/sucker_punch/version.rb,
lib/generators/sucker_punch/job_generator.rb

Defined Under Namespace

Modules: Generators, Job Classes: Queue, Railtie

Constant Summary collapse

VERSION =
"1.4.0"

Class Method Summary collapse

Class Method Details

.exception_handler(&block) ⇒ Object



16
17
18
# File 'lib/sucker_punch.rb', line 16

def self.exception_handler(&block)
  Celluloid.exception_handler(&block)
end

.loggerObject



8
9
10
# File 'lib/sucker_punch.rb', line 8

def self.logger
  Celluloid.logger
end

.logger=(logger) ⇒ Object



12
13
14
# File 'lib/sucker_punch.rb', line 12

def self.logger=(logger)
  Celluloid.logger = logger
end