class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
2007 def initialize(stack, instance)
2008   @stack, @instance = stack, instance
2009 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2019 def call(env)
2020   @stack.call(env)
2021 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
2015 def helpers
2016   @instance
2017 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2023 def inspect
2024   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2025 end
settings() click to toggle source
     # File lib/sinatra/base.rb
2011 def settings
2012   @instance.settings
2013 end