class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1991 def initialize(stack, instance)
1992   @stack, @instance = stack, instance
1993 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2003 def call(env)
2004   @stack.call(env)
2005 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1999 def helpers
2000   @instance
2001 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2007 def inspect
2008   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2009 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1995 def settings
1996   @instance.settings
1997 end