class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1985 def initialize(stack, instance)
1986   @stack, @instance = stack, instance
1987 end

Public Instance Methods

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