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

Inherits:
Binary show all
Defined in:
actionpack/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

Methods included from Enumerable

#as_json, #compact_blank, #exclude?, #excluding, #including, #index_by, #index_with, #many?, #pick, #pluck, #sum, #without

Constructor Details

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

Instance Method Details

#cat?Boolean

Returns:

  • (Boolean)

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

def cat?; true; end

#typeObject


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

def type; :CAT; end