Class: Kompo::InstallDeps::ForMacOS::InstallReadline
- Inherits:
-
Taski::Section
- Object
- Taski::Section
- Kompo::InstallDeps::ForMacOS::InstallReadline
- Defined in:
- lib/kompo/tasks/install_deps.rb
Overview
Readline library installation Section
Defined Under Namespace
Constant Summary collapse
- BREW_NAME =
"readline"- MARKER_FILE =
File.("~/.kompo_installed_readline")
Instance Method Summary collapse
Instance Method Details
#impl ⇒ Object
121 122 123 124 |
# File 'lib/kompo/tasks/install_deps.rb', line 121 def impl brew = HomebrewPath.path system("#{brew} list #{BREW_NAME} > /dev/null 2>&1") ? Installed : Install end |