rossta (Ross Kaffenberger)
- Login: rossta
- Registered on: 01/18/2016
- Last sign in: 01/24/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/18/2016
-
10:13 PM Ruby Bug #12003 (Closed): Unexpected behavior of === with Range of Date objects
- In Ruby 2.2, a Range of Date objects will return true when matched with === for a new Date that falls in the range:
~~~
puts ENV['RUBY_VERSION']
# => '2.2.3'
require 'date'
date_range = Date.new(1980, 1, 1)..Date.new(1990, 1, 10)
...