Range already responds to #size. It would be nice if it also responded to predicate #empty? :-)
Updated by shevegen (Robert A. Heiler) almost 5 years ago
I think the semantics between ".none?" is not the same as ".empty?". At
the least the latter appears to be more explicit to me.
But it's also not that important to me personally, I am fine either way. :-)