Class: Apiary::AsyncResponse

Inherits:
Thin::AsyncResponse
  • Object
show all
Defined in:
lib/apiary/async_response.rb

Instance Method Summary collapse

Instance Method Details

#end(out = nil) ⇒ Object



5
6
7
8
# File 'lib/apiary/async_response.rb', line 5

def end(out = nil)
  self.<<(out.to_s) if out
  done
end