Class: Rage::Router::WildcardNode

Inherits:
Node
  • Object
show all
Defined in:
lib/rage/router/node.rb

Constant Summary

Constants inherited from Node

Node::PARAMETRIC, Node::STATIC, Node::WILDCARD

Instance Attribute Summary

Attributes inherited from Node

#handler_storage, #is_leaf_node, #kind

Instance Method Summary collapse

Methods inherited from Node

#add_route

Constructor Details

#initializeWildcardNode

Returns a new instance of WildcardNode.



193
194
195
196
# File 'lib/rage/router/node.rb', line 193

def initialize
  super
  @kind = Node::WILDCARD
end

Instance Method Details

#get_next_nodeObject



198
199
200
# File 'lib/rage/router/node.rb', line 198

def get_next_node(*)
  nil
end