General

Profile

tommylommykins (Thomas Green)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

04/15/2013

10:32 PM Ruby Feature #8269 (Feedback): stdlib: Add Find.each_file to accompany Find.find
Often when I use the find module, I am only interested in files.
Since Find.find returns files and directories, I often write code
that looks like this:
Find.find('foo/bar') do |f|
next if File.directory? f
code code code ...
...
tommylommykins (Thomas Green)

01/08/2012

01:59 AM Ruby Bug #5859 (Closed): incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
It appears when calling realdirpath on a Pathname object returned by Pathname#entries, the returned value is always the current working directory of the ruby process, instead of the location of the file in the filesystem
This disagrees ...
tommylommykins (Thomas Green)

Also available in: Atom