Module: ComponentHost::Signal

Defined in:
lib/component_host/signal.rb

Defined Under Namespace

Modules: Substitute

Class Method Summary collapse

Class Method Details

.configure(receiver, attr_name: nil) ⇒ Object



3
4
5
6
7
# File 'lib/component_host/signal.rb', line 3

def self.configure(receiver, attr_name: nil)
  attr_name ||= :signal

  receiver.public_send "#{attr_name}=", ::Signal
end