[jruby-user] Going crazy - Time#round missing?

2 views
Skip to first unread message

Mark Mandel

unread,
Aug 3, 2012, 4:48:33 AM8/3/12
to us...@jruby.codehaus.org
Just wondering if I'm going crazy before logging a bug (I couldn't find one in Jira). (Or maybe if it was intentional)

It looks like Time#round doesn't exist in JRuby?

jruby-1.7.0.preview1 :002 > Time.instance_methods.grep /round/
 => [] 

In MRI:
1.9.3p194 :006 > Time.instance_methods.sort.grep /round/
 => [:round] 

Wasn't sure I was doing something strange, or if it was just me.

Thanks!

Mark

Hirotsugu Asari

unread,
Aug 3, 2012, 11:37:07 AM8/3/12
to us...@jruby.codehaus.org
Mark,

Thanks for the report. I created a ticket. http://bugs.jruby.org/6813

Charles Oliver Nutter

unread,
Aug 3, 2012, 12:02:18 PM8/3/12
to us...@jruby.codehaus.org
We'll get this into pre2. Thanks again :)

- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Mark Mandel

unread,
Aug 3, 2012, 7:24:40 PM8/3/12
to us...@jruby.codehaus.org
Glad to know I wasn't crazy :)

Much appreciated!

Mark
Reply all
Reply to author
Forward
0 new messages