Custom Enum.each implementation

No Enum library functions or list comprehensions allowed.