class Sinatra::Helpers::Stream::Wrapper

Public Class Methods

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

Public Instance Methods

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