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.



191
192
193
194
# File 'lib/rage/router/node.rb', line 191

def initialize
  super
  @kind = Node::WILDCARD
end

Instance Method Details

#get_next_nodeObject



196
197
198
# File 'lib/rage/router/node.rb', line 196

def get_next_node(*)
  nil
end