Align `Range#cover?` extension behavior with Ruby behavior for backwards ranges.
`(1..10).cover?(5..3)` now returns `false`, as it does in plain Ruby. Previously this returned `true`. Also update `#include?` and `#===` behavior to match.
Showing
想要评论请 注册 或 登录