101b147ch (Mario Maia)
- Login: 101b147ch
- Email: 101b147ch@gmail.com
- Registered on: 04/08/2014
- Last sign in: 10/28/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/11/2014
-
01:00 PM Ruby Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Nobuyoshi Nakada wrote:
> If they do it, you have no way to test files start with '~'.
Good point, I hadn't thought about this borderline case. And from this case, I take that this is not a bug on `FileTest`, but on `#expand_path`.
...
04/09/2014
-
09:49 PM Ruby Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Nobuyoshi Nakada wrote:
> Methods of `FileTest` don't expand the arguments implicitly.
Shouldn't they do that? I mean, I can understand `FileTest` not doing it, but `Pathname#exist?` has the same behavior, and I think this is kinda s...
04/08/2014
-
05:22 PM Ruby Bug #9716 (Rejected): FileTest.exist? does not convert relative path to absolute path before testing existence
- `FileTest.exist?(Pathname.new('~/derp').expand_path) => true`
`FileTest.exist?(Pathname.new('~/derp')) => false`