Fix bug in Range comparisons when comparing to excluded-end Range
Before: ```ruby (1..10).cover?(1...11) => false ``` After: ```ruby (1..10).cover?(1...11) => true ``` See https://git.io/fjTtz for the commit against Ruby core that added support for Range arguments, with similar handling of this case.
Showing
想要评论请 注册 或 登录