Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Jul 12, 2025

Use just self instead of self.class, in URI::Generic.build. Since this is a class method, self.class is always Class even in inherited sub classes, and does not have #component method.

Use just `self` instead of `self.class`, in `URI::Generic.build`.
Since this is a class method, `self.class` is always `Class` even in
inherited sub classes, and does not have `#component` method.
@nobu nobu merged commit 6f44d3d into ruby:master Jul 12, 2025
26 checks passed
@nobu nobu temporarily deployed to github-pages July 12, 2025 03:05 — with GitHub Actions Inactive
@nobu nobu deleted the build-exception-component branch July 12, 2025 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant