Class: Kompo::CargoPath
- Inherits:
-
Taski::Section
- Object
- Taski::Section
- Kompo::CargoPath
- Defined in:
- lib/kompo/tasks/cargo_path.rb
Overview
Section to get the Cargo path. Switches implementation based on whether Cargo is already installed.
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#impl ⇒ Object
11 12 13 |
# File 'lib/kompo/tasks/cargo_path.rb', line 11 def impl cargo_installed? ? Installed : Install end |