Skip to content

Conversation

@naitoh
Copy link
Contributor

@naitoh naitoh commented Jun 22, 2024

Included constants are not private. So private constants in private module aren't private.

See also: #154 (comment)

@kou kou changed the title Fix private_constant being public Don't include private_constant-ed module Jun 22, 2024
@kou kou merged commit cfa8dd9 into ruby:master Jun 22, 2024
@kou
Copy link
Member

kou commented Jun 22, 2024

Thanks.

@naitoh naitoh deleted the fix_private_constant branch June 22, 2024 05:31
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