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

✨ Add attr_readers for @host and @port #92

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Dec 22, 2022

My initial PR coerced host to a string and port to an Integer and froze both. I removed all of that, so now the PR is simply attr_reader :host, :port.

@nevans nevans requested a review from shugo December 22, 2022 00:36
@nevans nevans marked this pull request as draft January 2, 2023 19:33
@nevans
Copy link
Collaborator Author

nevans commented Jan 2, 2023

I converted this back to a draft because, upon reflection, I don't want to prevent using any host or port that Addrinfo.getaddrinfo can use.

@nevans nevans force-pushed the host-and-port-attrs branch from 0f4ee00 to 8347d94 Compare January 2, 2023 19:36
@nevans nevans marked this pull request as ready for review January 2, 2023 19:39
Copy link
Member

@shugo shugo left a comment

Choose a reason for hiding this comment

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

It looks fine!

@nevans nevans merged commit 14ad314 into master Jan 6, 2023
@nevans nevans deleted the host-and-port-attrs branch January 6, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants