module Person
  extend ActiveSupport::Concern

  included do
    attribute :name, Array[PersonName]
    attribute :date_of_birth, Date
  end
end

module Person
  include Virtus.module

  attribute :name, Array[PersonName]
  attribute :date_of_birth, Date
end

Use Virtus's simpler sharing solution
Use Virtus's simpler sharing solution
