Class: JabberAdmin::Commands::Restart
- Inherits:
-
Object
- Object
- JabberAdmin::Commands::Restart
- Defined in:
- lib/jabber_admin/commands/restart.rb
Overview
Restart ejabberd service gracefully.
Class Method Summary collapse
-
.call(callable) ⇒ Object
Pass the correct data to the given callable.
Class Method Details
.call(callable) ⇒ Object
Pass the correct data to the given callable.
12 13 14 |
# File 'lib/jabber_admin/commands/restart.rb', line 12 def self.call(callable) callable.call('restart') end |