12 ms·
Completely agreed. Just defining a "multiple_of" method which takes n as a parameter would have better than the method_missing hack.
by rustc 14y ago
Completely agreed. Just defining a "multiple_of" method which takes n as a parameter would have better than the method_missing hack.