Skip to content

Commit

Permalink
Document methods with leading underscores are not public
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Jul 14, 2023
1 parent 7cb1d7d commit 3a84e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PROJECT_RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Documented public methods conform the public interface. In particular:

* Public methods tagged as `@private` do not belong to the public interface.
* Undocumented public methods do not belong to the public interface. They are probably exploratory and may change or be deleted without warning. These are private interface in practice.
* Public methods whose name starts with two underscores, as in `__autoloads`, do not belong to the public interface.
* Undocumented public methods can be used in the Rails integration. We control both repositories, and Rails usage may help refine the actual public interface.

Any release can change the private interface, including patch releases.
Expand Down

0 comments on commit 3a84e57

Please sign in to comment.