Class: R10K::Task::Module::Sync Deprecated
Overview
Deprecated.
Constant Summary
Constants included from Logging
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(mod) ⇒ Sync
constructor
A new instance of Sync.
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
#call ⇒ Object
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 |