class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

new(stack, instance) click to toggle source
     # File lib/sinatra/base.rb
1945 def initialize(stack, instance)
1946   @stack, @instance = stack, instance
1947 end

Public Instance Methods

call(env) click to toggle source
     # File lib/sinatra/base.rb
1957 def call(env)
1958   @stack.call(env)
1959 end
helpers() click to toggle source
     # File lib/sinatra/base.rb
1953 def helpers
1954   @instance
1955 end
inspect() click to toggle source
     # File lib/sinatra/base.rb
1961 def inspect
1962   "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
1963 end
settings() click to toggle source
     # File lib/sinatra/base.rb
1949 def settings
1950   @instance.settings
1951 end