Special middleware used by Context directly. It will always be the last in the chain and is the actual place where the user's runtime context is processed.
# File lib/riot/middleware.rb, line 97 def initialize(&context_definition) @context_definition = context_definition end
(see Riot::ContextMiddleware#call)
# File lib/riot/middleware.rb, line 102 def call(context) context.instance_eval(&@context_definition); end