Class: ActionDispatch::Journey::Nodes::Cat

Inherits:
Binary
  • Object
show all
Defined in:
lib/action_dispatch/journey/nodes/node.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Binary

#right

Attributes inherited from Node

#left, #memo

Instance Method Summary collapse

Methods inherited from Binary

#children, #initialize

Methods inherited from Node

#each, #group?, #initialize, #literal?, #name, #star?, #symbol?, #terminal?, #to_dot, #to_s, #to_sym

Constructor Details

This class inherits a constructor from ActionDispatch::Journey::Nodes::Binary

Instance Method Details

#cat?Boolean

Returns:

  • (Boolean)


123
# File 'lib/action_dispatch/journey/nodes/node.rb', line 123

def cat?; true; end

#typeObject



124
# File 'lib/action_dispatch/journey/nodes/node.rb', line 124

def type; :CAT; end