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

[DOC] Enhanced RDoc for URI #55

Merged
merged 2 commits into from
Jan 8, 2023
Merged

Conversation

BurdetteLamar
Copy link
Member

No description provided.

@BurdetteLamar BurdetteLamar added the documentation Improvements or additions to documentation label Jan 8, 2023
@@ -829,7 +829,13 @@ def self.get_encoding(label)
module Kernel

#
# Returns +uri+ converted to an URI object.
# Returns a new \URI object derived from the given +uri+,
Copy link
Member

Choose a reason for hiding this comment

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

It does not necessarily a new URI object. If uri is a URI object, then it returns uri itself and doesn't create a new one.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

@peterzhu2118 peterzhu2118 merged commit 89ab4f1 into ruby:master Jan 8, 2023
matzbot pushed a commit to ruby/ruby that referenced this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

Successfully merging this pull request may close these issues.

2 participants