Gavin Kistner wrote: > > Note that the above (properly) generates warnings each time you reassign > to the global value. IMO a proper 'enum' solution would keep track of > that value internally. Doesn't if you do # Enumeration def enum(start, count) (start...(start+count)).to_a end as (start+count) is only evaluated once I assume. Thanks for the clarification, once I realised it was just an FX specific method, and not some cool use of the Enumeration class it sort of fell into place. Cheers Graham