Class: Stable::Commands::Restart

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Restart

Returns a new instance of Restart.



6
7
8
# File 'lib/stable/commands/restart.rb', line 6

def initialize(name)
  @name = name
end

Instance Method Details

#callObject



10
11
12
# File 'lib/stable/commands/restart.rb', line 10

def call
  Services::AppRestarter.new(@name).call
end