def redefine_command(obj, command)
      cmd_block = redefine_command_block(obj, command)
      @no_option_commands << command if command.options.nil?
      [command.name, command.alias].compact.each {|e|
        obj.singleton_class.send(:define_method, e, cmd_block)
      }
    rescue Error
      warn "Error: #{$!.message}"
    end
def redefine_command(obj, command)
      cmd_block = redefine_command_block(obj, command)
      @no_option_commands << command if command.options.nil?
      [command.name, command.alias].compact.each {|e|
        obj.singleton_class.send(:define_method, e, cmd_block)
      }
    rescue Error
      warn "Error: #{$!.message}"
    end
Redefines an object's method with a Command of the same name.