From: "Eregon (Benoit Daloze)" Date: 2013-10-19T20:49:35+09:00 Subject: [ruby-core:57939] [ruby-trunk - Bug #9002] Use simpler example for File#expand_path Issue #9002 has been updated by Eregon (Benoit Daloze). cha1tanya (Prathamesh Sonpatki) wrote: > Can we give both examples? I think the original example is a bit hard to understand due to two "..". In the first example we can show normal use and in second example, as you pointed out, how to resolve "..". Yes, that sounds good to me, could you update your patch? (Sorry for the long delay to answer, I missed your response) ---------------------------------------- Bug #9002: Use simpler example for File#expand_path https://bugs.ruby-lang.org/issues/9002#change-42519 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/