Class: Piston::Commands::Unlock

Inherits:
LockUnlock show all
Defined in:
lib/piston/commands/lock.rb

Instance Attribute Summary

Attributes inherited from LockUnlock

#options

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from LockUnlock

#run

Methods inherited from Base

#force, #guess_wc, #initialize, logger, #logger, #quiet, #verbose, #working_copy!

Constructor Details

This class inherits a constructor from Piston::Commands::Base

Instance Method Details

#start(*args) ⇒ Object



6
7
8
9
10
11
# File 'lib/piston/commands/lock.rb', line 6

def start(*args)
  args.each do |arg|
    options[:wcdir] = arg
    run(false)
  end
end