Skip to content

Commit

Permalink
Enumerable... respond_to :each... true.
Browse files Browse the repository at this point in the history
  • Loading branch information
boof committed Sep 28, 2011
1 parent 3205919 commit fed1c2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rack-esi/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def process_document(document)
def process(body)
document = esi.parser.parse read(body)
process_document document
document.send esi.serializer
[
document.send( esi.serializer )
]
end

end
Expand Down

0 comments on commit fed1c2f

Please sign in to comment.