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)


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

def cat?; true; end

#typeObject



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

def type; :CAT; end