module Ethon::Easy::ResponseCallbacks
def on_complete(&block)
-
block
(Block
) -- The block to execute.
Other tags:
- Example: Set on_complete. -
def on_complete(&block) @on_complete ||= [] @on_complete << block if block_given? @on_complete end