Class: EsiForRack::IOWrapper
- Inherits:
-
Object
- Object
- EsiForRack::IOWrapper
- Defined in:
- lib/esi_for_rack.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(body) ⇒ IOWrapper
constructor
A new instance of IOWrapper.
- #read ⇒ Object
Constructor Details
#initialize(body) ⇒ IOWrapper
Returns a new instance of IOWrapper.
70 71 72 |
# File 'lib/esi_for_rack.rb', line 70 def initialize(body) @body = body.each end |
Instance Method Details
#close ⇒ Object
78 79 80 |
# File 'lib/esi_for_rack.rb', line 78 def close #no-op end |
#read ⇒ Object
74 75 76 |
# File 'lib/esi_for_rack.rb', line 74 def read @body.end? end |