module Roda::RodaPlugins::RouteBlockArgs::ClassMethods
Override the route block input so that the block given is passed the arguments specified by the block given to the route_block_args plugin.
Private Instance Methods
Source
# File lib/roda/plugins/route_block_args.rb, line 39 def convert_route_block(block) meth = define_roda_method("convert_route_block_args", :any, &super(block)) lambda do |_| send(meth, *_roda_route_block_args) end end
Calls superclass method