[ruby-core:122585] [Ruby Feature#17473] Make Pathname to embedded class of Ruby