Class: Zold::Pull
- Inherits:
-
Object
- Object
- Zold::Pull
- Includes:
- ThreadBadge
- Defined in:
- lib/zold/commands/pull.rb
Overview
PULL command
Instance Method Summary collapse
-
#initialize(wallets:, remotes:, copies:, log: Log::NULL) ⇒ Pull
constructor
A new instance of Pull.
- #run(args = []) ⇒ Object
Constructor Details
Instance Method Details
#run(args = []) ⇒ Object
45 46 47 48 49 |
# File 'lib/zold/commands/pull.rb', line 45 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, remotes: @remotes, copies: @copies, log: @log).run(args) end |