You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
398 B
14 lines
398 B
4 months ago
|
class Student
|
||
|
attr_accessor :id, :surname, :name, :patronymic, :phone, :telegram, :email, :git
|
||
|
|
||
|
def initialize(surname:, name:, patronymic:, id: nil, phone: nil, telegram: nil, email: nil, git: nil)
|
||
|
@surname = surname
|
||
|
@name = name
|
||
|
@patronymic = patronymic
|
||
|
@id = id
|
||
|
@phone = phone
|
||
|
@telegram = telegram
|
||
|
@email = email
|
||
|
@git = git
|
||
|
end
|
||
|
end
|