Forum: JRuby Going crazy - Time#round missing?

Posted by Mark Mandel (Guest)
on 2012-08-03 10:49
(Received via mailing list)
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?
http://rubydoc.info/stdlib/core/Time#round-instance_method

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

--
E: mark.mandel@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/
Posted by Hirotsugu Asari (Guest)
on 2012-08-03 17:39
(Received via mailing list)
Mark,

Thanks for the report. I created a ticket. http://bugs.jruby.org/6813
Posted by Charles Nutter (headius)
on 2012-08-03 18:03
(Received via mailing list)
We'll get this into pre2. Thanks again :)

- Charlie
Posted by Mark Mandel (Guest)
on 2012-08-04 01:26
(Received via mailing list)
Glad to know I wasn't crazy :)

Much appreciated!

Mark

On Sat, Aug 4, 2012 at 2:02 AM, Charles Oliver Nutter
<headius@headius.com>wrote:

> > On Aug 3, 2012, at 4:48 AM, Mark Mandel <mark.mandel@gmail.com> wrote:
> >
> > --
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>


--
E: mark.mandel@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.