Class Virtus::Attribute::Collection
In: lib/virtus/attribute/collection.rb
Parent: Attribute

Collection attribute handles enumerable-like types

Handles coercing members to the designated member type.

Constants

Type = Struct.new(:primitive, :member_type) do def self.infer(type, primitive)   FIXME: temporary hack, remove when Axiom::Type works with EV as member_type

Attributes

member_type  [R]  @api private

[Validate]