class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1978 def initialize(stack, instance)
1979   @stack, @instance = stack, instance
1980 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1990 def call(env)
1991   @stack.call(env)
1992 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1986 def helpers
1987   @instance
1988 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1994 def inspect
1995   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1996 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1982 def settings
1983   @instance.settings
1984 end