Class: CallableTree::Node::Root

Inherits:
Object
  • Object
show all
Includes:
Hooks::Caller, Hooks::Matcher, Hooks::Terminator, Internal
Defined in:
lib/callable_tree/node/root.rb

Constant Summary

Constants included from Internal::Strategyable

Internal::Strategyable::DEFAUTL_FACTORY

Instance Attribute Summary

Attributes included from Internal

#child_nodes

Attributes included from CallableTree::Node

#parent

Attributes included from Hooks::Matcher

#after_matcher_callbacks, #around_matcher_callbacks, #before_matcher_callbacks

Attributes included from Hooks::Caller

#after_caller_callbacks, #around_caller_callbacks, #before_caller_callbacks

Attributes included from Hooks::Terminator

#after_terminator_callbacks, #around_terminator_callbacks, #before_terminator_callbacks

Class Method Summary collapse

Methods included from Internal

#append, #append!, #call, #children, #children!, #external?, #find, included, #internal?, #match?, #outline, #reject, #reject!, #shake, #shake!

Methods included from Internal::Strategyable

included

Methods included from CallableTree::Node

#ancestors, #call, #depth, #external?, #identity, #internal?, #match?, #outline, #root?, #routes, #terminate?

Methods included from Hooks::Matcher

#after_matcher, #after_matcher!, #around_matcher, #around_matcher!, #before_matcher, #before_matcher!, included, #match?

Methods included from Hooks::Caller

#after_call, #after_call!, #around_call, #around_call!, #before_call, #before_call!, #call, included

Methods included from Hooks::Terminator

#after_terminator, #after_terminator!, #around_terminator, #around_terminator!, #before_terminator, #before_terminator!, included, #terminate?

Class Method Details

.inherited(subclass) ⇒ Object



11
12
13
# File 'lib/callable_tree/node/root.rb', line 11

def self.inherited(subclass)
  raise ::CallableTree::Error, "#{subclass} cannot inherit #{self}"
end