/factory-struct

Class with the same behavior like Struct.

Primary LanguageRubyOtherNOASSERTION

Factory

The Task

Implement your own class Factory which will have the same behavior as Struct class.

Of course, the best way for implementation is like in the code below:

class Factory < Struct; end