Class: Kompo::CargoPath

Inherits:
Taski::Section
  • Object
show all
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

Classes: Install, Installed

Instance Method Summary collapse

Instance Method Details

#implObject



11
12
13
# File 'lib/kompo/tasks/cargo_path.rb', line 11

def impl
  cargo_installed? ? Installed : Install
end