class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

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