psychoslave / englishest

A Ruby gem which allows a more literate coding style
MIT License
0 stars 0 forks source link

Rename `ALIASES` hashes into `INSTANCE_METHOD_ALIASES` #11

Open psychoslave opened 2 years ago

psychoslave commented 2 years ago

The current name was opted for before inclusion of singleton methods came into consideration. Now to be on pare with SINGLETON_METHOD_ALIASES, it would be better to opt for INSTANCE_METHOD_ALIASES.

That might require to also rework a bit tests, as they directly call these constants. It goes hand in hand with #10 on that points, the API of the library should be reworked to give public access to these information only through dedicated methods, or even not at all, as they are mostly internal implementation details.