Time#new in 1.9 mode doesn't support correct amount of arguments #1541

bakkdoor opened this Issue Feb 2, 2012 · 1 comment


None yet

2 participants

bakkdoor commented Feb 2, 2012

Time#new in 1.9 should support up to 7 arguments, namely
new(year, month=nil, day=nil, hour=nil, min=nil, sec=nil, utc_offset=nil) → time

I came accross this while trying to use DCell (https://github.com/tarcieri/dcell)
I hacked up a version, but it's probably not what we want to use. See: https://gist.github.com/1716281

@jfirebaugh jfirebaugh was assigned Mar 24, 2012

Fixed in c7ec4e0.

@jfirebaugh jfirebaugh closed this Mar 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment