class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
2072 def initialize(stack, instance)
2073   @stack = stack
2074   @instance = instance
2075 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
2085 def call(env)
2086   @stack.call(env)
2087 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
2081 def helpers
2082   @instance
2083 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
2089 def inspect
2090   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2091 end
settings() click to toggle source
     # File lib/sinatra/base.rb
2077 def settings
2078   @instance.settings
2079 end