class ResetCommand

Public Instance Methods

description() click to toggle source
# File lib/replicant/commands/reset_command.rb, line 3
def description
  "clear current device and package"
end
run() click to toggle source
# File lib/replicant/commands/reset_command.rb, line 11
def run
  @repl.default_device = nil
  @repl.default_package = nil
end
valid_args?() click to toggle source
# File lib/replicant/commands/reset_command.rb, line 7
def valid_args?
  args.blank?
end