Sha256: c71af4d4c8a52812ac77b3e9a8bb9193e03008f087eacc0a017f0033cde34131

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class DemographicSet < DataSet
    def initialize(data, user_set:)
      super(data)
      @user_set = user_set
    end

    def check_semantically_consistent
      super

      each do |demographic|
        @user_set.find_by_sourced_id(demographic.sourced_id)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meibo-0.1.0 lib/meibo/demographic_set.rb