Class GraphViz::FamilyTree::Person
In: lib/graphviz/family_tree/person.rb
Parent: Object

Methods

Public Instance methods

Define the current person as a boy

 greg.is_a_boy( "Greg" )

Define the current perdon as a girl

 maia.is_a_girl( "Maia" )

Define the current person as a man

 greg.is_a_man( "Greg" )

Define the current perdon as a woman

 mu.is_a_woman( "Muriel" )

Define the current person as dead

 jack.is_dead

Define that‘s two persons are divorced

 sophie.is_divorced_with john

Define that‘s two persons are maried

 mu.is_maried_with greg

Define that‘s a person is widower of another

 simon.is_widower_of elisa

Define the kids of a single person

  alice.kids( john, jack, julie )

[Validate]