Sha256: 1791854ba4eaf30ee2de4be3a7df6eedcadc618e01f160ad5338c1cec2c24b33

Contents?: true

Size: 196 Bytes

Versions: 73

Compression:

Stored size: 196 Bytes

Contents

# encoding: utf-8
module Mutx
  module Commands
    def self.restart
      Mutx::Support::Log.debug "#{self}:#{__method__}" if Mutx::Support::Log
      self.stop
      self.start
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
mutx-0.2.9 lib/mutx/commands/restart.rb
mutx-0.2.8 lib/mutx/commands/restart.rb
mutx-0.2.7 lib/mutx/commands/restart.rb
mutx-0.2.6 lib/mutx/commands/restart.rb
mutx-0.2.5 lib/mutx/commands/restart.rb
mutx-0.2.4 lib/mutx/commands/restart.rb
mutx-0.2.3 lib/mutx/commands/restart.rb
mutx-0.2.2 lib/mutx/commands/restart.rb
mutx-0.2.1 lib/mutx/commands/restart.rb
mutx-0.2.0 lib/mutx/commands/restart.rb
mutx-0.1.69 lib/mutx/commands/restart.rb
mutx-0.1.68 lib/mutx/commands/restart.rb
mutx-0.1.67 lib/mutx/commands/restart.rb
mutx-0.1.66 lib/mutx/commands/restart.rb
mutx-0.1.65 lib/mutx/commands/restart.rb
mutx-0.1.64 lib/mutx/commands/restart.rb
mutx-0.1.63 lib/mutx/commands/restart.rb
mutx-0.1.62 lib/mutx/commands/restart.rb
mutx-0.1.61 lib/mutx/commands/restart.rb
mutx-0.1.60 lib/mutx/commands/restart.rb