Module: Culerity::ServerCommands
- Defined in:
- lib/culerity.rb
Instance Method Summary collapse
Instance Method Details
#clear_proxies ⇒ Object
22 23 24 |
# File 'lib/culerity.rb', line 22 def clear_proxies self.puts '["_clear_proxies_"]' end |
#close_browsers ⇒ Object
18 19 20 |
# File 'lib/culerity.rb', line 18 def close_browsers self.puts '["_close_browsers_"]' end |
#exit_server ⇒ Object
13 14 15 16 |
# File 'lib/culerity.rb', line 13 def exit_server self << '["_exit_"]' Process.kill(6, self.pid.to_i) end |