Class: ActionDispatch::Journey::Nodes::Star

Inherits:
Unary
  • Object
show all
Defined in:
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 Unary

#children

Methods inherited from Node

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

Constructor Details

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

Instance Method Details

#nameObject



97
98
99
# File 'lib/action_dispatch/journey/nodes/node.rb', line 97

def name
  left.name.tr '*:', ''
end

#typeObject



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

def type; :STAR; end