From 98df94d5d6a22936392926d7b8392f9c777eff99 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Fri, 25 Oct 2024 14:08:04 +1100 Subject: Update documentation --- lib/family_factory.rb | 3 +-- lib/gender.rb | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/family_factory.rb b/lib/family_factory.rb index 8a3a4e8..f64521a 100644 --- a/lib/family_factory.rb +++ b/lib/family_factory.rb @@ -7,8 +7,7 @@ require_relative 'gender' # FamilyFactory class to create initial families for the FamilyTree. # The primary purpose of this class is to create and initialize predefined families. class FamilyFactory - # Initializes a new FamilyFactory object. - # Sets up a hash to store people and gets the singleton instance of RelationshipManager. + # Initializes the new FamilyFactory instance. def initialize @people = {} end diff --git a/lib/gender.rb b/lib/gender.rb index a4f1b60..ebc0526 100644 --- a/lib/gender.rb +++ b/lib/gender.rb @@ -2,10 +2,7 @@ # Gender class to handle gender-related operations. class Gender - # Constant representing male gender. MALE = 'male' - - # Constant representing female gender. FEMALE = 'female' # Returns all defined genders. -- cgit v1.2.3