lib/meibo/demographic_set.rb in meibo-0.1.0 vs lib/meibo/demographic_set.rb in meibo-0.2.0

- old
+ new

@@ -1,18 +1,13 @@ # 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) + roster.users.find(demographic.sourced_id) end end end end