2.1.552 Part 1 Section 17.18.75, ST_RubyAlign (Phonetic Guide Text Alignment)

a.   The standard states that for the left enumeration value ruby text will be aligned left and for the right enumeration value ruby text will be aligned right.

Word changes left to right and left to right when the run layout is right-to-left.