#!/usr/bin/ruby # ## https://rosettacode.org/wiki/Enumerations # enum { Apple=3, Banana, # gets the value 4 Cherry="a", Orange, # gets the value "b" }; say Apple; say Banana; say Cherry; say Orange;