Going crazy - Time#round missing?

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: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/

Mark,

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

We’ll get this into pre2. Thanks again :slight_smile:

  • Charlie

Glad to know I wasn’t crazy :slight_smile:

Much appreciated!

Mark

On Sat, Aug 4, 2012 at 2:02 AM, Charles Oliver N.
[email protected]wrote:

On Aug 3, 2012, at 4:48 AM, Mark M. [email protected] wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


E: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/