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