class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
2001 def initialize(stack, instance)
2002   @stack, @instance = stack, instance
2003 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2013 def call(env)
2014   @stack.call(env)
2015 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
2009 def helpers
2010   @instance
2011 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2017 def inspect
2018   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2019 end
settings() click to toggle source
     # File lib/sinatra/base.rb
2005 def settings
2006   @instance.settings
2007 end