Class: RolePlays::BaseStruct
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- RolePlays::BaseStruct
- Defined in:
- lib/role_plays/base_struct.rb
Overview
Base of the value objects a policy is built from. They are values on purpose: a declaration is read many times and changed by no one, so extending a role returns a new struct rather than mutating the one another policy may have been given.