class Balmora::Command::Commands
Public Instance Methods
_installed()
click to toggle source
# File lib/balmora/command/commands.rb, line 17 def _installed() return @shell.run!(['pacman', '-Q'], verbose: false).split("\n") end
options()
click to toggle source
Calls superclass method
Balmora::Command#options
# File lib/balmora/command/commands.rb, line 3 def options() return super().concat([:commands]) end
run()
click to toggle source
# File lib/balmora/command/commands.rb, line 13 def run() @balmora.run_commands(@state, @commands) end
verify()
click to toggle source
# File lib/balmora/command/commands.rb, line 7 def verify() if @commands.nil?() raise Error.new('"commands" should be set') end end