parent
1df018955f
commit
57a51641e7
@ -0,0 +1,14 @@
|
||||
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
|
Loading…
Reference in new issue