class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1939 def initialize(stack, instance)
1940   @stack, @instance = stack, instance
1941 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1951 def call(env)
1952   @stack.call(env)
1953 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1947 def helpers
1948   @instance
1949 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1955 def inspect
1956   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1957 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1943 def settings
1944   @instance.settings
1945 end