Re: [Ironruby-core] Marshal format for Time

2008-09-16 Thread Curt Hagenlocher
In case anyone was wondering, here's a partial decoding: dword 1, little-endian bits 0-4: Hour bits 5-9: Day, 1=1st bits 10-13: Month, 0=January bits 14-29: Year, 0=1900 bit 30: 0=Local, 1=Utc. 1.8.6 always writes 0 here bit 31: 1 to indicate this format dword 2, little-endian bits 0-19: Microse

[Ironruby-core] kind_of? problem

2008-09-16 Thread Stefan Dobrev
Hi guys, I was on the way of running RSpec in IronRuby. After some hacks I was able to run basic specs. However I came up to a problem that "before :each" was not called in IronRuby. After some digging I was able to find the problem. Here is a small repro: module M end class MyClass extend M e

Re: [Ironruby-core] kind_of? problem

2008-09-16 Thread Jim Deville
Nice catch, can you post this as a bug on the rubyforge? Thanks, JD From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Dobrev Sent: Tuesday, September 16, 2008 3:42 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] kind_of? problem Hi guys, I was on the way of runn

Re: [Ironruby-core] Overriding CLS Virtuals

2008-09-16 Thread Curt Hagenlocher
Right now, the only way to get properties is to implement an interface that defines them. When IronRuby supports this "natively", it will have to define a syntax for doing so. That's because the Ruby language supports neither properties, attributes nor static types - all of which will be neede

Re: [Ironruby-core] kind_of? problem

2008-09-16 Thread Stefan Dobrev
Done. https://rubyforge.org/tracker/?func=detail&aid=21995&group_id=4359&atid=16798 SD 2008/9/17 Jim Deville <[EMAIL PROTECTED]> > Nice catch, can you post this as a bug on the rubyforge? > > > > Thanks, > > > > JD > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *S