[MacRuby-devel] Time.new.utc.round ?
Milos & Slavica
milos.and.slavica at me.com
Tue May 29 09:17:23 PDT 2012
Issue #94:
https://github.com/MacRuby/MacRuby/issues/94
Cheers!
milos
On 29 May 2012, at 17:58, Joshua Ballanco wrote:
> Yes, this seems like a bug. Would you mind filing an issue on the Github issue tracker?
>
> On Tuesday, May 29, 2012 at 2:03 PM, Robert Schaaf wrote:
>
>> Hi,
>>
>> But 1.9.3 doesn't:
>>
>> Traveler:~ rwschaaf$ rvm use 1.9.3
>> Using /Users/rwschaaf/.rvm/gems/ruby-1.9.3-p125
>> Traveler:~ rwschaaf$ irb
>> 1.9.3p125 :001 > Time.new.utc.round
>> => 2012-05-29 11:01:22 UTC
>>
>> Bob Schaaf
>>
>> On May 29, 2012, at 6:56 AM, Peter W A Wood wrote:
>>
>>> Hi
>>>
>>> On 29 May 2012, at 18:04, Milos & Slavica wrote:
>>>
>>>> Hi,
>>>>
>>>> Is this a known issue?
>>>>
>>>> >> Time.new.utc.round
>>>> NoMethodError: undefined method `round' for 2012-05-29 10:00:00 UTC:Time
>>>
>>> Ruby 1.8.7 displays the same behaviour :
>>>
>>> home$ irb
>>> >> Time.new.utc.round
>>> NoMethodError: undefined method `round' for Tue May 29 10:54:04 UTC 2012:Time
>>> from (irb):1
>>>
>>> Regards
>>>
>>> Peter
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120529/cee98f03/attachment-0001.html>
More information about the MacRuby-devel
mailing list