Class: Webmachine::Adapters::Hatetepe::Body
- Inherits:
-
Struct
- Object
- Struct
- Webmachine::Adapters::Hatetepe::Body
- Defined in:
- lib/webmachine/adapters/hatetepe.rb
Instance Method Summary collapse
Instance Method Details
#each(&block) ⇒ Object
96 97 98 99 |
# File 'lib/webmachine/adapters/hatetepe.rb', line 96 def each(&block) body.rewind body.each(&block) end |
#to_s ⇒ Object
101 102 103 104 |
# File 'lib/webmachine/adapters/hatetepe.rb', line 101 def to_s body.rewind body.read.to_s end |