diff options
| author | Szymon Szukalski <szymon@skas.io> | 2024-10-25 13:32:15 +1100 |
|---|---|---|
| committer | Szymon Szukalski <szymon@skas.io> | 2024-10-25 13:32:15 +1100 |
| commit | dcadb5e738774a133f980cd07ba2d617c6d6656d (patch) | |
| tree | 319dc95bfc5c62f3c995294d9e1e97cc13bcf89a /lib/family_tree.rb | |
| parent | 5fe552de8f8e8f7bd4747d75a2a1da92e67bdc4a (diff) | |
Handle singular form of SIBLINGS action.
- Updated tests to handle `SIBLING` action
- Added assumptions to README
Diffstat (limited to 'lib/family_tree.rb')
| -rw-r--r-- | lib/family_tree.rb | 2 |
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) |
