summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-10-25 14:08:04 +1100
committerSzymon Szukalski <szymon@skas.io>2024-10-25 14:08:04 +1100
commit98df94d5d6a22936392926d7b8392f9c777eff99 (patch)
tree826e2f587e6052f938935c66ab66e66fe0df0274 /lib
parentdcadb5e738774a133f980cd07ba2d617c6d6656d (diff)
Update documentationHEADv1.0.0main
Diffstat (limited to 'lib')
-rw-r--r--lib/family_factory.rb3
-rw-r--r--lib/gender.rb3
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.