class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
2124 def initialize(stack, instance)
2125   @stack = stack
2126   @instance = instance
2127 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2137 def call(env)
2138   @stack.call(env)
2139 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
2133 def helpers
2134   @instance
2135 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2141 def inspect
2142   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2143 end
settings() click to toggle source
     # File lib/sinatra/base.rb
2129 def settings
2130   @instance.settings
2131 end