Open zverok opened 10 months ago
Pathname#chdir
already existed in ruby till 1.9.1, was obsoleted in 1.8.1 preview and removed in 1.9.2 preview
@toy Interesting. Do you know the justification? (The obsoleting commit doesn't link to the tracker ticket or ruby-core email discussion) :thinking:
@zverok I remember being frustrated about the change and that justification was something about the method being misplaced, but I failed now to find any more information about it
@hsbt That one is about removal of methods already marked obsolete, but not why were they marked obsolete
@hsbt Any updates on this?.. It is a bit weird now that (more simple) Dir
object has this method after Ruby 3.3, but (more advanced) Pathname
doesn’t.
As it was introduced into Ruby 3.3 as
Dir#chdir
, and was requested before that in #25.