- Added `validate` method to ensure each Student object has a Git link and at least one contact method (phone, telegram, or email). - Implemented `git_present?` method to check the presence of a Git link. - Implemented `contact_present?` method to check the presence of at least one contact method. - Modified the constructor to call `validate` during object initialization.pull/4/head
parent
fca36ccd9d
commit
c1ca0ea845
Loading…
Reference in new issue