Sha256: 14eb148a80da837979079ec42107ca44e87c935a1e7b02df466cb4df043a9577

Contents?: true

Size: 386 Bytes

Versions: 12

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

require_relative 'data_list'

class DataListStudentShort < DataList
  # Делаем приватный new предка публичным
  public_class_method :new

  def column_names
    ['Фамилия И. О.', 'Гит', 'Контакт']
  end

  protected

  def table_fields(obj)
    [obj.last_name_and_initials, obj.git, obj.contact]
  end
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
shnaider_carproj-0.1.0 lib/repositories/containers/data_list_student_short.rb
rybish_code-1.1.4 lib/source/repositories/containers/data_list_student_short.rb
shnaider_code-1.1.6 lib/source/repositories/containers/data_list_student_short.rb
papaSquidLib-0.1.0 lib/repositories/containers/data_list_student_short.rb
shnaider_code-1.1.5 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.1.4 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.1.3 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.1.2 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.1.1 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.1.0 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-1.0.0 lib/source/repositories/containers/data_list_student_short.rb
rubbish_code-0.1.4 lib/source/repositories/containers/data_list_student_short.rb