Class: RJR::Nodes::Missing

Inherits:
RJR::Node show all
Defined in:
lib/rjr/nodes/missing.rb

Instance Attribute Summary

Attributes inherited from RJR::Node

#connection_event_handlers, #dispatcher, #message_headers, #node_id

Instance Method Summary collapse

Methods inherited from RJR::Node

#clear_event_handlers, em, #em, #halt, #indirect?, indirect?, #initialize, #join, #node_type, #on, persistent?, #persistent?, tp, #tp

Constructor Details

This class inherits a constructor from RJR::Node

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_id, *args, &bl) ⇒ Object



14
15
16
# File 'lib/rjr/nodes/missing.rb', line 14

def method_missing(method_id, *args, &bl)
  raise "rjr node #{node_id} is missing a dependency - cannot invoke #{method_id}"
end