class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

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