Class: Balmora::Command::Stop

Inherits:
Balmora::Command show all
Defined in:
lib/balmora/command/stop.rb

Defined Under Namespace

Classes: Error

Instance Method Summary collapse

Methods inherited from Balmora::Command

#_execute, #execute, #init, #initialize, #option

Constructor Details

This class inherits a constructor from Balmora::Command

Instance Method Details

#optionsObject



5
6
7
# File 'lib/balmora/command/stop.rb', line 5

def options()
  return super().concat([:status])
end

#runObject

Raises:



13
14
15
# File 'lib/balmora/command/stop.rb', line 13

def run()
  raise Balmora::Stop.new(nil, @status)
end

#verifyObject



9
10
11
# File 'lib/balmora/command/stop.rb', line 9

def verify()
  return true
end