3 4 5 6 7 8 9
# File 'lib/treat/entities/entity/exportable.rb', line 3 def export(problem) ds = Treat::Learning::DataSet.new(problem) each_entity(problem.question.target) do |e| ds << e end ds end