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)


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

def cat?; true; end

#typeObject



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

def type; :CAT; end