Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed May 28, 2021
1 parent dd3eb36 commit 894ad7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/y2users/password.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ def expire?
end

# Disables the account expiration
#
# @note There is not a counterpart method called 'enable'. To activate the account expiration,
# use {#date=} to assign an expiration date.
def disable
@content = ""
end
Expand Down

0 comments on commit 894ad7e

Please sign in to comment.