Module: Hivent::Signal

Defined in:
lib/hivent/signal.rb

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

pretend Signal is a class so that using backends is transparent



7
8
9
10
# File 'lib/hivent/signal.rb', line 7

def self.new(*args)
  klass = "Hivent::#{Hivent::Config.backend.to_s.camelize}::Signal"
  klass.constantize.new(*args)
end