Class: Mixboard::Sink
Overview
A sink is anything that accepts signals of a certain type.
Instance Method Summary
collapse
#assert_non_nil_of_type, #assert_type, #declare_abstract_method_body, #method_not_implemented_error
Instance Method Details
#accept(_signal) ⇒ Object
12
13
14
|
# File 'app/mixer/mixboard/sink.rb', line 12
def accept(_signal)
declare_abstract_method_body
end
|
#do_accept(signal) ⇒ Object
16
17
18
19
|
# File 'app/mixer/mixboard/sink.rb', line 16
def do_accept(signal)
assert_non_nil_of_type(signal, signal_class)
accept(signal)
end
|
#signal_class ⇒ Object
8
9
10
|
# File 'app/mixer/mixboard/sink.rb', line 8
def signal_class
declare_abstract_method_body
end
|