Class: SmartMachine::Commands::Syncer

Inherits:
Thor
  • Object
show all
Includes:
Utilities
Defined in:
lib/smart_machine/commands/syncer.rb

Instance Method Summary collapse

Instance Method Details

#rsync(*args) ⇒ Object



15
16
17
18
19
20
# File 'lib/smart_machine/commands/syncer.rb', line 15

def rsync(*args)
  inside_engine_machine_dir do
    syncer = SmartMachine::Syncer.new
    syncer.rsync(args)
  end
end

#syncObject



7
8
9
10
11
12
# File 'lib/smart_machine/commands/syncer.rb', line 7

def sync
  inside_machine_dir do
    syncer = SmartMachine::Syncer.new
    syncer.sync
  end
end