From: Heesob Park Date: 2013-01-04T15:38:32+09:00 Subject: Re: Literal notation for Pathnames Hi, 2013/1/4 Intransition > > One thing I would like Ruby to have is a concise literal notation for > pathnames. So maybe Ruby could have a literal notation as follows: > > /foo/bar #=> # > ./foo/bar #=> # > ../foo/bar #=> # > > and/or > > /"foo/bar" #=> # > ./"foo/bar" #=> # > ../"foo/bar" #=> # > > So, `/`, `./` and `../` would be special keyword and/or unary operators > for creating Pathname object. > > Thoughts? > > There was a very similar feature request 7 months ago. Refer to https://bugs.ruby-lang.org/issues/6507. Regards, Park Heesob