class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1946 def initialize(stack, instance)
1947   @stack, @instance = stack, instance
1948 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1958 def call(env)
1959   @stack.call(env)
1960 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1954 def helpers
1955   @instance
1956 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1962 def inspect
1963   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1964 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1950 def settings
1951   @instance.settings
1952 end