Issue #9002 has been updated by zzak (Zachary Scott).

Status changed from Open to Assigned

The original makes no sense to me, but I can see how it resolves ".." (... somehow).

I'm not even sure what the "/tmp/x" has to do with anything.

A patch to explain what's going on there would be nice, at least for my own sake :D
----------------------------------------
Bug #9002: Use simpler example for File#expand_path
https://bugs.ruby-lang.org/issues/9002#change-42481

Author: cha1tanya (Prathamesh Sonpatki)
Status: Assigned
Priority: Normal
Assignee: zzak (Zachary Scott)
Category: doc
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-07-20 trunk 42078) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Use simpler example for File#exapnd_path when start_directory path is given.


-- 
http://bugs.ruby-lang.org/