Class: Braid::Commands::Update
- Inherits:
-
Braid::Command
- Object
- Braid::Command
- Braid::Commands::Update
- Defined in:
- lib/braid/commands/update.rb
Instance Method Summary collapse
Methods inherited from Braid::Command
#config, msg, #msg, run, #verbose?
Methods included from Operations::VersionControl
#git, #git_cache, #git_svn, #svn
Instance Method Details
#run(path, options = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/braid/commands/update.rb', line 4 def run(path, = {}) bail_on_local_changes! with_reset_on_error do path ? update_one(path, ) : update_all() end end |