diff options
| -rw-r--r-- | lib/family_factory.rb | 3 | ||||
| -rw-r--r-- | lib/gender.rb | 3 |
2 files changed, 1 insertions, 5 deletions
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. |
