Re: [Ironruby-core] Flagged enums

2009-06-17 Thread Jim Deville
enum/mapping_spec.rb would be fine. -Original Message- From: Jimmy Schementi Sent: June 16, 2009 11:59 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Flagged enums This works now: >>> AnchorStyles.bottom | AnchorStyles.left => Bottom, Left Jim, there sho

Re: [Ironruby-core] Flagged enums

2009-06-17 Thread Thibaut Barrère
Hi, This works now: > > >>> AnchorStyles.bottom | AnchorStyles.left > > => Bottom, Left > thanks! -- Thibaut ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Flagged enums

2009-06-16 Thread Jimmy Schementi
baut Barrère Sent: Tuesday, May 26, 2009 2:38 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Flagged enums Hi, a follow-up on flagged enums: >> AnchorStyles.Bottom | AnchorStyles.Left I seem to remember a commit that mentioned it was supported, but I'm not sure. Cu

Re: [Ironruby-core] Flagged enums

2009-05-26 Thread Thibaut Barrère
Hi, a follow-up on flagged enums: >> AnchorStyles.Bottom | AnchorStyles.Left I seem to remember a commit that mentioned it was supported, but I'm not sure. Currently, either "||" or "|" fail on this example (| gives method undefined, || returns only Bottom). Has it been implemented ? Should I

Re: [Ironruby-core] Flagged enums

2009-03-29 Thread Thibaut Barrère
In case it's useful to someone else (until flagged enums combination is supported by IronRuby), I wrote some custom code to support that. I'm now allowing code like :anchor => [:bottom,:top] in Magic. Relevant code is here: - http://github.com/thbar/magic/commit/e236e6fa455ea783b42dd08513dea7d80b4

Re: [Ironruby-core] Flagged enums

2009-03-26 Thread Thibaut Barrère
g] *On Behalf Of *Thibaut Barrère > *Sent:* Wednesday, March 25, 2009 2:39 AM > *To:* ironruby-core > *Subject:* [Ironruby-core] Flagged enums > > > > Hi, > > > > it seems that the following code isn't supported: > > > > AnchorStyles.Bottom | AnchorStyl

Re: [Ironruby-core] Flagged enums

2009-03-25 Thread Tomas Matousek
Yes, we can do that. Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Thibaut Barrère Sent: Wednesday, March 25, 2009 2:39 AM To: ironruby-core Subject: [Ironruby-core] Flagged enums Hi, it seems that the following code isn't supp

Re: [Ironruby-core] Flagged enums

2009-03-25 Thread Jimmy Schementi
esday, March 25, 2009 2:39 AM To: ironruby-core Subject: [Ironruby-core] Flagged enums Hi, it seems that the following code isn't supported: AnchorStyles.Bottom | AnchorStyles.Left I believe IronPython supports this (see EnumOps.cs). Is that syntax planned ?

[Ironruby-core] Flagged enums

2009-03-25 Thread Thibaut Barrère
Hi, it seems that the following code isn't supported: AnchorStyles.Bottom | AnchorStyles.Left I believe IronPython supports this (see EnumOps.cs). Is that syntax planned ? -- Thibaut ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://ru