Class: ActionDispatch::Journey::Nodes::Dummy

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

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Node

#left, #memo

Instance Method Summary collapse

Methods inherited from Literal

#type

Methods inherited from Terminal

#terminal?

Methods inherited from Node

#cat?, #each, #group?, #name, #star?, #symbol?, #terminal?, #to_dot, #to_s, #to_sym, #type

Methods included from Enumerable

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

Constructor Details

#initialize(x = Object.new) ⇒ Dummy

Returns a new instance of Dummy.



61
62
63
# File 'actionpack/lib/action_dispatch/journey/nodes/node.rb', line 61

def initialize(x = Object.new)
  super
end

Instance Method Details

#literal?Boolean

Returns:

  • (Boolean)


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

def literal?; false; end