From: Mathieu Bouchard Date: 2000-10-05T14:33:32+09:00 Subject: [ruby-talk:5295] Re: problem: undefined method `size' for File > makes sense. But unfortunately standard C does not provide the > portable way to get the size of opened file. Standard Ruby could, maybe. class File def size foo = tell seek 0,2 bar = tell seek foo,0 bar end end matju