Ruby - rubocop Method too long

A meta-programming coding exercise (from Aug 2018) in creating a data class factory …

Avoids the pitfalls of Struct, and as easy to use as OpenStruct (and avoids it’s quirks as it doesn’t use an internal Hash nor override the class object’s method_missing callback.)

1 Like