Class: Rigit::Commands::Update::UpdateHandler
- Inherits:
-
Object
- Object
- Rigit::Commands::Update::UpdateHandler
- Includes:
- Colsole
- Defined in:
- lib/rigit/commands/update.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#rig_name ⇒ Object
readonly
Returns the value of attribute rig_name.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args) ⇒ UpdateHandler
constructor
A new instance of UpdateHandler.
Constructor Details
#initialize(args) ⇒ UpdateHandler
Returns a new instance of UpdateHandler.
12 13 14 15 |
# File 'lib/rigit/commands/update.rb', line 12 def initialize(args) @args = args @rig_name = args['RIG'] end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
10 11 12 |
# File 'lib/rigit/commands/update.rb', line 10 def args @args end |
#rig_name ⇒ Object (readonly)
Returns the value of attribute rig_name.
10 11 12 |
# File 'lib/rigit/commands/update.rb', line 10 def rig_name @rig_name end |
Instance Method Details
#execute ⇒ Object
17 18 19 20 |
# File 'lib/rigit/commands/update.rb', line 17 def execute verify_dirs update end |