You also might want to use the synonym enum_for() instead of to_enum(), 
so that it is readily apparent that you are supposed to supply an 
argument.

-- 
Posted via http://www.ruby-forum.com/.