objects/item.rb
def keygap
    keygap = read['keygap']
    raise "The user @#{@login} doesn't have a keygap anymore" if keygap.nil?
    @log.debug("The keygap of @#{@login} retrieved")
    keygap
  end
# Returns user Keygap temporarily stored in the database. We should not
# keep it here for too long. Once the user confirms that the keygap has
# been stored safely, we should call wipe(), which will remove the
# keygap from the database.
Returns user Keygap temporarily stored in the database. We should not
keep it here for too long. Once the user confirms that the keygap has
been stored safely, we should call wipe(), which will remove the
keygap from the database.
Returns user Keygap temporarily stored in the database . We should not keep it here for too long . Once the user confirms that the keygap has been stored safely we should call wipe () which will remove the keygap from the database .
def keygap
    keygap = read['keygap']
    raise "The user @#{@login} doesn't have a keygap anymore" if keygap.nil?
    @log.debug("The keygap of @#{@login} retrieved")
    keygap
  end
def keygap keygap = read [ 'keygap' ] raise "The user @#{@login} doesn't have a keygap anymore" if keygap . nil? @log . debug ( "The keygap of @#{@login} retrieved" ) keygap end
Returns user Keygap temporarily stored in the database.
Returns user Keygap temporarily stored in the database .