Sha256: 4cfc74a90ab72c2366453bc89ef79c7c4a09f1688f076823bd3839c6b2f13463
Contents?: true
Size: 737 Bytes
Versions: 3
Compression:
Stored size: 737 Bytes
Contents
module RubbishCode class DataConstructPattern def execute(values, attrs) raise 'Метод не реализован' end end class DefaultDataConstructPattern def execute(values, attrs) (0...values.size).map { |item_index| [ values[item_index].id, values[item_index].lastname, values[item_index].firstname, values[item_index].patronymic, values[item_index].git, values[item_index].telegram, values[item_index].phone, values[item_index].email ] } end end end
Version data entries
3 entries across 3 versions & 1 rubygems