Class: R10K::Task::Module::Sync Deprecated

Inherits:
Base
  • Object
show all
Defined in:
lib/r10k/task/module.rb

Overview

Deprecated.

Constant Summary

Constants included from Logging

Logging::LOG_LEVELS

Instance Attribute Summary

Attributes inherited from Base

#task_runner

Instance Method Summary collapse

Methods included from Logging

formatter, included, level, level=, levels, #logger, #logger_name, outputter, parse_level

Constructor Details

#initialize(mod) ⇒ Sync

Returns a new instance of Sync.



8
9
10
# File 'lib/r10k/task/module.rb', line 8

def initialize(mod)
  @mod = mod
end

Instance Method Details

#callObject



12
13
14
15
# File 'lib/r10k/task/module.rb', line 12

def call
  logger.info "Deploying #{@mod.name} into #{@mod.basedir}"
  @mod.sync
end