From: Kevin Smith Date: 2001-01-05T17:19:52+09:00 Subject: [ruby-talk:8668] Re: Any way to get enumerated values? Lyle Johnson wrote: >In other words, I need it to work exactly like C enums ;) I haven't looked at enumerate.rb yet, but my def enum solution could be enhanced to allow an optional re-starting parameter. So you would say: A = enum(35) B = enum C = enum And you wouild know that B would be 36 and C would be 37. Kevin