Class: Rack::SimpleBodyProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/simple_body_proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(body) ⇒ SimpleBodyProxy


5
6
7
# File 'lib/rack/simple_body_proxy.rb', line 5

def initialize(body)
  @body = body
end

Instance Method Details

#each(&blk) ⇒ Object


9
10
11
# File 'lib/rack/simple_body_proxy.rb', line 9

def each(&blk)
  @body.each(&blk)
end