A library for defining and validating data structures.
Wrapper object for an entity’s plural association.
#initialize(association:, entity:) => Proxy
#==(other) => true, false
#add(value) => self
Also known as:
<<
, push
Appends the entity to the association.
If the entity is already in the association data, this method does nothing.
#each => Enumerator
#each(&block) => Object
#each => Enumerator
#each(&block) => Object
#inspect => String
#remove(value) => self
Also known as:
delete
Removes the entity from the association.
If the entity is not in the association data, this method does nothing.
Back to Documentation | Reference | Stannum | Stannum::Associations | Stannum::Associations::Many