This works now: >>> AnchorStyles.bottom | AnchorStyles.left => Bottom, Left
Jim, there should be specs for this. Where should I add them? enum/mapping_spec.rb or somewhere else? From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Thibaut 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. Currently, either "||" or "|" fail on this example (| gives method undefined, || returns only Bottom). Has it been implemented ? Should I file a bug for this ? (or is the syntax different ?) cheers, --Thibaut
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core