class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1949 def initialize(stack, instance)
1950   @stack, @instance = stack, instance
1951 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1961 def call(env)
1962   @stack.call(env)
1963 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1957 def helpers
1958   @instance
1959 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1965 def inspect
1966   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1967 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1953 def settings
1954   @instance.settings
1955 end