Method: Expressr::RouteNode#initialize
- Defined in:
- lib/expressr/route_node.rb
#initialize(proc, next_node, options = {}) ⇒ RouteNode
Returns a new instance of RouteNode.
3 4 5 6 7 8 |
# File 'lib/expressr/route_node.rb', line 3 def initialize(proc, next_node, ={}) @proc = proc @next_node = next_node @additional_arguments = [:additional_arguments] || [] @has_continued = false end |