module Ethon::Easy::ResponseCallbacks
def complete
- Example: Execute on_completes. -
def complete if defined?(@on_complete) and not @on_complete.nil? @on_complete.each{ |callback| callback.call(self) } end end
def complete if defined?(@on_complete) and not @on_complete.nil? @on_complete.each{ |callback| callback.call(self) } end end