On Apr 27, 7:57 am, John Joyce <dangerwillrobinsondan... / gmail.com>
wrote:
> Do File#size and File#size? follow links?
> It would certainly appear to be so, but docs don't say.
> Don't symlinks have a size of some sort of their own?
> Kind of confused by this. (Hard links are a bit more of a mind-bender
> at times. I'm afraid to create or use them for fear of black holes. )

Yes, it follows links. If you want to report on the size of the link
itself, use File.lstat('link').size.

Regards,

Dan