These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
I'm trying to make a structure using dry-struct. I need to restrict an attribute to have only instances of a specific class.
I found that there is
Types::Class type in dry-types. How do I specify an exact class?