-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Random::Formatter#phrase #3
base: master
Are you sure you want to change the base?
Conversation
ca1f77d
to
30b7397
Compare
Co-authored-by: Olle Jonsson <[email protected]>
PUNCT = %w[! - + / . ^ ~].freeze | ||
|
||
# Default excluded characters for #phrase | ||
EXCLUDE = %w"0 O o 1 l".freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: Is there a specific style reason to have another %w list delimiter for EXCLUDE than what PUNCT is using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course nothing ;)
It may be nice if this method accepts |
The method generates a random pass phrase.