summaryrefslogtreecommitdiff
path: root/lib/family_tree.rb
blob: 934d32e5ef8c2412fb173ca63df5baeb1bacab07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class FamilyTree
  def initialize
    @people = []
  end

  def add_child(*params)
    puts "Adding Child with params: #{params.join(', ')}"
  end

  def query_hierarchy(*params)
    puts "Querying Hierarcy with params: #{params.join(', ')}"
  end
end