Class: JabberAdmin::Commands::Restart

Inherits:
Object
  • Object
show all
Defined in:
lib/jabber_admin/commands/restart.rb

Overview

Restart ejabberd service gracefully.

Class Method Summary collapse

Class Method Details

.call(callable) ⇒ Object

Pass the correct data to the given callable.

Parameters:

  • callable (Proc, #call)

    the callable to call



12
13
14
# File 'lib/jabber_admin/commands/restart.rb', line 12

def self.call(callable)
  callable.call('restart')
end