Class: Sinatra::Helpers::Stream::Wrapper

### Home Classes Methods

### In Files

- lib/sinatra/base.rb

### Parent

Object

### Methods

- ::new
- #call
- #helpers
- #inspect
- #settings

### Files

- LICENSE

### Class/Module Index

Quicksearch

- Sinatra
- Sinatra::Application
- Sinatra::CommonLogger
- Sinatra::ExtendedRack
- Sinatra::Helpers
- Sinatra::Helpers::Stream
- Sinatra::Helpers::Stream::Application
- Sinatra::Helpers::Stream::Base
- Sinatra::Helpers::Stream::Templates
- Sinatra::Helpers::Stream::Templates::ContentTyped
- Sinatra::Helpers::Stream::Wrapper
- Sinatra::Request
- Sinatra::Request::AcceptEntry
- Sinatra::Response
- Sinatra::ShowExceptions
- Rack
- Rack::Builder

No matching classes.

# Sinatra::Helpers::Stream::Wrapper

### Public Class Methods

new(stack, instance) click to toggle source

    # File lib/sinatra/base.rb, line 1991
    def initialize(stack, instance)
      @stack, @instance = stack, instance
    end

### Public Instance Methods

call(env) click to toggle source

    # File lib/sinatra/base.rb, line 2003
    def call(env)
      @stack.call(env)
    end

helpers() click to toggle source

    # File lib/sinatra/base.rb, line 1999
    def helpers
      @instance
    end

inspect() click to toggle source

    # File lib/sinatra/base.rb, line 2007
    def inspect
      "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
    end

settings() click to toggle source

    # File lib/sinatra/base.rb, line 1995
    def settings
      @instance.settings
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.