Class: ActionDispatch::Journey::Nodes::Star
- Defined in:
- lib/action_dispatch/journey/nodes/node.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Unary
Methods inherited from Node
#cat?, #each, #group?, #initialize, #literal?, #symbol?, #terminal?, #to_dot, #to_s, #to_sym
Constructor Details
This class inherits a constructor from ActionDispatch::Journey::Nodes::Node
Instance Method Details
#name ⇒ Object
110 111 112 |
# File 'lib/action_dispatch/journey/nodes/node.rb', line 110 def name left.name.tr "*:", "" end |
#star? ⇒ Boolean
107 |
# File 'lib/action_dispatch/journey/nodes/node.rb', line 107 def star?; true; end |
#type ⇒ Object
108 |
# File 'lib/action_dispatch/journey/nodes/node.rb', line 108 def type; :STAR; end |