Class: ActionDispatch::Journey::Nodes::Literal

Inherits:
Terminal show all
Defined in:
actionpack/lib/action_dispatch/journey/nodes/node.rb

Overview

:nodoc:

Direct Known Subclasses

Dummy

Instance Attribute Summary

Attributes inherited from Node

#left, #memo

Instance Method Summary collapse

Methods inherited from Node

#each, #initialize, #name, #symbol?, #to_dot, #to_s, #to_sym

Methods included from Enumerable

#as_json, #exclude?, #index_by, #many?, #sum

Constructor Details

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

Instance Method Details

#literal?Boolean

Returns:

  • (Boolean)


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

def literal?; true; end

#typeObject



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

def type; :LITERAL; end