- Updated `to_s` method to standardize string representation of Student object. - Added `from_string` constructor that parses a formatted string and initializes the object with parsed data. - Modified `set_contacts` to ensure contacts are only set via the defined method. - Added validation for Git presence and contact details presence, ensuring data integrity. - Updated tests in main.rb to validate the new constructor and string parsing logic.pull/4/head
parent
1407d3e6fd
commit
8858731565
Loading…
Reference in new issue