Re:Rails is not written in Ruby
by remram on Saturday February 05, 2022 @02:16PM
(#30224735)
Yes, sorted() will use methods like __iter__ and __lt__ provided by the object. But sorting is not provided by the object and is therefore not (quoting GP) "the exact same thing, just hidden from you in an ugly __method__".
[ Parent
| on HN ]
There are no comments on this comment yet.