Module: KO::Signals::InstanceMethods
- Defined in:
- lib/ko/signals.rb
Instance Method Summary collapse
- #method_missing(name, *args, **params) ⇒ Object
-
#respond_to_missing?(name, include_private = false) ⇒ Boolean
TODO: write me!.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, **params) ⇒ Object
9 10 11 12 13 |
# File 'lib/ko/signals.rb', line 9 def method_missing(name, *args, **params, &) _, signal = signals.find { _2.receiver_name == name } || super signal.connect(&) end |
Instance Method Details
#respond_to_missing?(name, include_private = false) ⇒ Boolean
TODO: write me!
7 |
# File 'lib/ko/signals.rb', line 7 def respond_to_missing?(name, include_private = false); end |