Class: ResetCommand
Instance Attribute Summary
Attributes inherited from Command
#args
Instance Method Summary
collapse
Methods inherited from Command
all, #execute, inherited, #initialize, load, #name, #usage
Constructor Details
This class inherits a constructor from Command
Instance Method Details
#description ⇒ Object
240
241
242
|
# File 'lib/replicant/command.rb', line 240
def description
"clear current device and package"
end
|
#run ⇒ Object
248
249
250
251
|
# File 'lib/replicant/command.rb', line 248
def run
@repl.default_device = nil
@repl.default_package = nil
end
|
#valid_args? ⇒ Boolean
244
245
246
|
# File 'lib/replicant/command.rb', line 244
def valid_args?
args.blank?
end
|