class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

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