summaryrefslogtreecommitdiff
path: root/lib/family_tree.rb
AgeCommit message (Collapse)Author
2024-10-25Document code with YARDSzymon Szukalski
2024-10-25Write test cases for new relationshipsSzymon Szukalski
2024-10-25Refactor uncle and aunt relationship handling to support both paternal and ↵Szymon Szukalski
maternal sides.
2024-10-25Refactor sibling-in-law relationship methods to reduce redundancySzymon Szukalski
2024-10-25Implement extended relationshipsSzymon Szukalski
- Support uncle, aunt, in-law, son, daughter relationships
2024-10-24Add tests for FamilyTree classSzymon Szukalski
- return appropriate error messages when person isn't found or if there aren't any siblings
2024-10-24Implement key data modelSzymon Szukalski
- Added classes for Person, Gender, Family, FamilyTree - Replaced FamilyTreeManager with FamilyTree - Add FamilyFactory for seeding the initial FamilyTree for King Arthur and Queen Margaret - Added a RelationshipManager for linking spouses correctly - Refactored ActionFileExecutor for readability - More test coverage
2024-10-24Define FamilyTreeSzymon Szukalski
- Implemented basic FamilyTree which will hold all the people and perform actions on them - Updated the FamilyTree Manager to create an instance of the FamilyTree - Updated the FamilyTreeManager to call the add_child and query_hierarchy methods on the FamilyTree - Update tests