[MacRuby-devel] date broken in experimental r2001?

Laurent Sansonetti lsansonetti at apple.com
Wed Jul 8 00:04:15 PDT 2009


I highly recommend using the Foundation classes when you do MacRuby- 
only programming: generally they are faster and more stable than the  
Ruby stdlib counterparts :)

Laurent

On Jul 8, 2009, at 12:01 AM, Timothy Wood wrote:

>
>  Oh hey, maybe I could just use NSDate and friends… thanks for the  
> idea! =)
>
> -tim
>
>
> On Jul 7, 2009, at 11:59 PM, Matt Aimonetti wrote:
>
>> Ruby's DateTime is pretty bad, if you are still using MRI, you  
>> might want to give http://github.com/jeremyevans/third_base/tree/master 
>>   a shot.
>>
>> - Matt
>>
>>
>>
>> On Tue, Jul 7, 2009 at 11:38 PM, Laurent Sansonetti <lsansonetti at apple.com 
>> > wrote:
>> Hi Timothy,
>>
>> That sounds expected, Rational is not implemented yet in  
>> experimental :)
>>
>> Laurent
>>
>> On Jul 7, 2009, at 10:13 PM, Timothy Wood wrote:
>>
>>
>> % macirb
>> irb: warn: can't alias exit from irb_exit.
>> irb(main):001:0> require 'date'
>> NoMethodError: undefined method `Rational:' for Date:Class
>>
>> This is with a freshly installed LLVM (r72741, the stable point  
>> noted in README.rdoc) and MacRuby r2001.  Are other folks seeing  
>> this, or is it maybe something about my config?
>>
>>  Thanks!
>>
>> -tim
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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/20090708/d2023ac0/attachment-0001.html>


More information about the MacRuby-devel mailing list