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)


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

def cat?; true; end

#typeObject



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

def type; :CAT; end