Class: Zold::Pull
- Inherits:
-
Object
- Object
- Zold::Pull
- Defined in:
- lib/zold/commands/pull.rb
Overview
PULL command
Instance Method Summary collapse
-
#initialize(wallets:, remotes:, copies:, log: Log::Quiet.new) ⇒ Pull
constructor
A new instance of Pull.
- #run(args = []) ⇒ Object
Constructor Details
Instance Method Details
#run(args = []) ⇒ Object
40 41 42 43 44 |
# File 'lib/zold/commands/pull.rb', line 40 def run(args = []) Zold::Clean.new(wallets: @wallets, copies: @copies, log: @log).run(args) Zold::Fetch.new(wallets: @wallets, remotes: @remotes, copies: @copies, log: @log).run(args) Zold::Merge.new(wallets: @wallets, copies: @copies, log: @log).run(args) end |