Skip to content

Localize private flag to class and not module#111

Merged
mcclayton merged 1 commit intoprocore-oss:masterfrom
philipqnguyen:fix-private-flag
Oct 26, 2018
Merged

Localize private flag to class and not module#111
mcclayton merged 1 commit intoprocore-oss:masterfrom
philipqnguyen:fix-private-flag

Conversation

@philipqnguyen
Copy link
Copy Markdown
Contributor

This private flag was accidentally placed at the top level module,
causing many methods and classes set at the top level to be considered
private when it shouldn't have been.

Take a look at https://www.rubydoc.info/gems/blueprinter/Blueprinter
it has the configure method as private, when it should be public.

Moving this private flag down to the Extractor class level should
fix this.

This private flag was accidentally placed that the top level module,
causing many methods and classes set at the top level to be considered
private when it shouldn't have been.

Take a look at https://www.rubydoc.info/gems/blueprinter/Blueprinter
it has the `configure` method as private, when it should be public.

Moving this private flag down to the Extractor class level should
fix this.
@mcclayton mcclayton merged commit 7c02767 into procore-oss:master Oct 26, 2018
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.

3 participants