Class: Faststrap::InstallActions::LcovInstallAction

Inherits:
Faststrap::InstallAction show all
Defined in:
lib/faststrap/install_actions/lcov_install_action.rb

Class Method Summary collapse

Methods inherited from Faststrap::InstallAction

run, uninstall

Class Method Details

.cmdObject



12
13
14
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 12

def self.cmd
  Faststrap::InstallActions.brew_install "lcov"
end

.descriptionObject



9
10
11
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 9

def self.description
  "Install lcov"
end

.groupObject



5
6
7
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 5

def self.group
  Faststrap::ActionsGroup::TESTS
end

.installed?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 24

def self.installed?
  Faststrap::InstallActions.cmd? "lcov"
end

.nameObject



20
21
22
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 20

def self.name
  "lcov"
end

.ucmdObject



16
17
18
# File 'lib/faststrap/install_actions/lcov_install_action.rb', line 16

def self.ucmd
  Faststrap::InstallActions.brew_uninstall "lcov"
end