class Rack::App::Router::Tree::Leaf::Mounted
Public Class Methods
new(endpoint)
click to toggle source
# File lib/rack/app/router/tree/leaf/mounted.rb, line 12 def initialize(endpoint) @app = endpoint.to_app end
Public Instance Methods
call(env)
click to toggle source
# File lib/rack/app/router/tree/leaf/mounted.rb, line 6 def call(env) @app.call(env) end