class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2001 def call(env)
2002   @stack.call(env)
2003 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1997 def helpers
1998   @instance
1999 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2005 def inspect
2006   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2007 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1993 def settings
1994   @instance.settings
1995 end