Class: R10K::Task::Module::Sync
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.
7 8 9 |
# File 'lib/r10k/task/module.rb', line 7 def initialize(mod) @mod = mod end |
Instance Method Details
#call ⇒ Object
11 12 13 14 |
# File 'lib/r10k/task/module.rb', line 11 def call logger.info "Deploying #{@mod.name} into #{@mod.basedir}" @mod.sync end |