summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-10-25 13:32:15 +1100
committerSzymon Szukalski <szymon@skas.io>2024-10-25 13:32:15 +1100
commitdcadb5e738774a133f980cd07ba2d617c6d6656d (patch)
tree319dc95bfc5c62f3c995294d9e1e97cc13bcf89a /lib
parent5fe552de8f8e8f7bd4747d75a2a1da92e67bdc4a (diff)
Handle singular form of SIBLINGS action.
- Updated tests to handle `SIBLING` action - Added assumptions to README
Diffstat (limited to 'lib')
-rw-r--r--lib/family_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/family_tree.rb b/lib/family_tree.rb
index 9850280..4fa5dca 100644
--- a/lib/family_tree.rb
+++ b/lib/family_tree.rb
@@ -67,7 +67,7 @@ class FamilyTree
case relationship.downcase
when 'mother', 'father'
handle_parent_relationship(child_of_family, relationship)
- when 'siblings'
+ when 'siblings', 'sibling'
handle_siblings_relationship(child_of_family, name)
when 'child', 'daughter', 'son'
handle_children_relationship(parent_of_family, relationship)