Sha256: 4951b4e5701833b9e6d35032fa93b7520942163cab1130ebef5fb6a51752f9af
Contents?: true
Size: 404 Bytes
Versions: 240
Compression:
Stored size: 404 Bytes
Contents
public enum Plant { VIOLETS, RADISHES, CLOVER, GRASS; public static Plant getPlant(char plantCode) { switch (plantCode) { case 'G': return GRASS; case 'C': return CLOVER; case 'R': return RADISHES; case 'V': return VIOLETS; } return null; } }
Version data entries
240 entries across 120 versions & 1 rubygems