This is obviously a quick a dirty way to make things work™, but is all but clean code. As this peace of code is within a class <<self scope, a more proper solution like ::Englishest::#{self}::SINGLETON_METHOD_ALIASES is inoperative.
The goal here is to replace the approach that led to this line with something cleaner.
It looks like there is no native counterpart to singleton_class to retrieve the object from which the singleton is derived. Other solutions might exist, but those found so far were more demanding in resources.
The code currently hold this ugly line:
This is obviously a quick a dirty way to make things work™, but is all but clean code. As this peace of code is within a
class <<self
scope, a more proper solution like::Englishest::#{self}::SINGLETON_METHOD_ALIASES
is inoperative.The goal here is to replace the approach that led to this line with something cleaner.