<P> The child is named Obed, who we discover is "the father of Jesse, the father of David" (Ruth 4: 13--17), that is, the grandfather of King David . </P> <P> The book concludes with an appendix which traces the Davidic genealogy all the way back from Perez, "whom Tamar bore to Judah", through to Obed, down to David . </P> <P> The book does not name its author . It is traditionally ascribed to the prophet Samuel, but Ruth's identity as a non-Israelite and the stress on the need for an inclusive attitude towards foreigners suggests an origin in the fifth century BCE, when intermarriage had become controversial (as seen in Ezra 9: 1 and Nehemiah 13: 1). A substantial number of scholars therefore date it to the Persian period (6th--4th centuries BC). The genealogy that concludes the book is believed to be a post-exilic Priestly addition, as it adds nothing to the plot; nevertheless, it is carefully crafted and integrates the book into the history of Israel running from Genesis to Kings . </P> <P> The Book of Ruth illustrates the difficulty of trying to use laws given in books such as Deuteronomy as evidence of actual practice . Naomi plans to provide security for herself and Ruth by arranging a Levirate marriage with Boaz . Her plan is overtly sexual: Ruth is to go to the threshing floor (a place associated with sexual activity), wait until Boaz has finished eating and drinking (a possible allusion to the story of Lot and his daughters, ancestors through incest of the Moabites), and to lie at his uncovered "feet" (a euphemism for genitals). </P>

Who wrote the book of ruth in bible
find me the text answering this question