KitchenSink v1.3.5 KitchenSink.StructEnum View Source

This module makes structs Enumerable which means that you can use Enum functions on them. The format of default values we are using is setting them to nil so count uses that.

To use it for your struct do

use KitchenSink.StructEnum