Skip to content

Conversation

@okuramasafumi
Copy link
Contributor

@okuramasafumi okuramasafumi commented Aug 5, 2019

private method doesn't make class methods private.
(To make class methods private, use private_class_method.)
That was confusing so it's removed.

@nateberkopec
Copy link
Member

Hmmm... it looks like we were depending on it being public internally too!

@nateberkopec
Copy link
Member

What do you think - should we just remove the private and just say that method is public (which it has been...possibly for ever), or re-architect the code to deal with this somehow and make it actually private?

@okuramasafumi
Copy link
Contributor Author

Oh, then I think we should remove the confusing private call now and re-architecting should be done in another PR.

@nateberkopec
Copy link
Member

Works for me @okuramasafumi

`private` method doesn't make class methods private.
(To make class methods private, use `private_class_method`.)
That was confusing so it's removed.
@okuramasafumi okuramasafumi changed the title Make Rack::Handler::Puma.set_host_port_to_config private Remove confusing private call Aug 6, 2019
@okuramasafumi
Copy link
Contributor Author

@nateberkopec OK, I modified this PR to just remove private call.

@nateberkopec
Copy link
Member

merge

Thank you!

@nateberkopec nateberkopec merged commit be13b96 into puma:master Aug 6, 2019
@okuramasafumi okuramasafumi deleted the private-class-method branch August 7, 2019 02:06
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.

2 participants