They are almost identical.
The difference is that if SomeClass#include is private, the latter can still call it due to the nature of Object#send
If SomeClass#include was private and you went first, this will throw an error.
Thus, the advantage of using the latter is that you can enable the module no matter what the visibility is. (Regardless of whether you really believe that access to private methods is the βrightβ thing to do, this is another story. It certainly gives you tremendous power.)
source share