In case it's useful to someone else (until flagged enums combination is supported by IronRuby), I wrote some custom code to support that.<div><br></div><div>I'm now allowing code like :anchor => [:bottom,:top] in Magic.</div>
<div><br></div><div>Relevant code is here:</div><div>- <a href="http://github.com/thbar/magic/commit/e236e6fa455ea783b42dd08513dea7d80b4705d5">http://github.com/thbar/magic/commit/e236e6fa455ea783b42dd08513dea7d80b4705d5</a></div>
<div>- <a href="http://github.com/thbar/magic/blob/e236e6fa455ea783b42dd08513dea7d80b4705d5/lib/magic/enum_support.rb">http://github.com/thbar/magic/blob/e236e6fa455ea783b42dd08513dea7d80b4705d5/lib/magic/enum_support.rb</a></div>
<div><br></div><div>cheers,</div><div><br></div><div>-- Thibaut</div>