Quite ... but I wish you had posted the "exception clauses" for the Moabite. They might have used them in Nehemiah's time (Neh.13:1)
Ruth completely surrendered to the living God, unlike in Nehemiah's day he says half the children of the mixed marriages could only speak their pagan language. It seems reasonable to say they were not being taught from scripture.
Here are some of those "exceptions".
Isiah 58:1Thus saith the LORD, Keep ye judgment, and do justice: for my salvation
is near to come, and my righteousness to be revealed.
2Blessed
is the man
that doeth this, and the son of man
that layeth hold on it; that keepeth the sabbath from polluting it, and keepeth his hand from doing any evil.
3Neither let the son of the stranger, that hath joined himself to the LORD, speak, saying, The LORD hath utterly separated me from his people: neither let the eunuch say, Behold, I
am a dry tree.
4For thus saith the LORD unto the eunuchs that keep my sabbaths, and choose
the things that please me, and take hold of my covenant;
5Even unto them will I give in mine house and within my walls a place and a name better than of sons and of daughters: I will give them an everlasting name, that shall not be cut off.
6Also the sons of the stranger, that join themselves to the LORD, to serve him, and to love the name of the LORD, to be his servants, every one that keepeth the sabbath from polluting it, and taketh hold of my covenant;
7Even them will I bring to my holy mountain, and make them joyful in my house of prayer: their burnt offerings and their sacrifices
shall be accepted upon mine altar; for mine house shall be called an house of prayer for all people.
8The Lord GOD which gathereth the outcasts of Israel saith, Yet will I gather
others to him, beside those that are gathered unto him.