Sha256: 147cae06e62ee34e7f897ecb2187c73afdd385d6896a21c0e4e6a521f14d5e01
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
require 'source/data_list.rb' require 'source/data_table.rb' module RubbishCode class DataListStudentShort < DataList attr_private_accessor :data_constructor def initialize(list:, data_constructor:) self.data_constructor = data_constructor super(list: list) end def get_names ["ID", "Фамилия", "Имя", "Отчество", "Гит", "Телега", "Телефон", "Почта"] end def get_data self.data_constructor.execute(list, get_names) end def list=(new_list) @list = new_list notify() end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
Web_rubbish_code-1.0.2 | lib/source/data_list_student_short.rb |
Web_rubbish_code-1.0.1 | lib/source/data_list_student_short.rb |
Web_rubbish_code-1.0.0 | lib/source/data_list_student_short.rb |