class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2006 def call(env)
2007   @stack.call(env)
2008 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
2002 def helpers
2003   @instance
2004 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2010 def inspect
2011   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2012 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1998 def settings
1999   @instance.settings
2000 end