class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1992 def call(env)
1993   @stack.call(env)
1994 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1988 def helpers
1989   @instance
1990 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1996 def inspect
1997   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1998 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1984 def settings
1985   @instance.settings
1986 end