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
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
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
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
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
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
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
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 ?
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