Method: CMUX::ModemCommand#complete

Defined in:
lib/cmux/modem_command.rb

#complete(response) ⇒ Object



20
21
22
23
24
# File 'lib/cmux/modem_command.rb', line 20

def complete(response)
  @state = :complete

  @block.call response unless @block.nil?
end