Class: Minbox::Quit

Inherits:
Object
  • Object
show all
Defined in:
lib/minbox/client.rb

Instance Method Summary collapse

Instance Method Details

#run(client, _line) ⇒ Object



30
31
32
33
# File 'lib/minbox/client.rb', line 30

def run(client, _line)
  client.write '221 Bye'
  client.close
end