Skip to content
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

Clarify SecureRandom#hex documentation. #394

Closed
wants to merge 1 commit into from

Conversation

avdi
Copy link
Contributor

@avdi avdi commented Sep 12, 2013

No description provided.

@ghost ghost assigned zzak Sep 12, 2013
@@ -116,10 +116,10 @@ def self.random_bytes(n=nil)
raise NotImplementedError, "No random device"
end

# SecureRandom.hex generates a random hex string.
# SecureRandom.hex generates a random hexidecimal string.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not trying to be Mr. Smartypants, but you have a typo here :-)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kyrylo Whats the typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, google tells me it is "hexadecimal".

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly.

@zzak zzak closed this in 9408bba Sep 20, 2013
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request Oct 6, 2013
  [Fixes rubyGH-394] Patch by @avdi ruby#394


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlove pushed a commit to tenderlove/ruby that referenced this pull request Jan 24, 2014
  [Fixes rubyGH-394] Patch by @avdi ruby#394


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt pushed a commit to ruby/securerandom that referenced this pull request May 22, 2020
  [Fixes GH-394] Patch by @avdi ruby/ruby#394


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants