Joseph: > >> What does everyone think of making File.size an instance method as > >> well as a class method. Similiar to how chmod works? > > DT> Try f.stat.size > > Yes that is what I am using. Just curious if f.size might be a good > idea. This is somewhat discussed idea. Please see the threads starting at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/~poffice/mail/ruby-talk/738 3 and http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/~poffice/mail/ruby-talk/282 9 and especially the thread starting at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/5254 I think, now rereading it, that we actually reached some state of common understanding and were just considering what would be the best way to do it. I wonder if it ever got into core Ruby or just faded away. At least my ruby says: ruby -v -e'puts File.new(".bashrc").methods.sort.include?("size")' ruby 1.6.4 (2001-06-04) [i686-linux] false - Aleksi This transmission is intended only for the use of the individual or entity to which it is addressed. The message may contain information that is private and confidential. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any distribution, dissemination or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return E-mail and remove the original message. Thank You. The content of this message is not given or endorsed by HEX unless such content relates to the official business of the firm. HEX reserves the right to monitor all E-mail communications through its networks. The attachments have been scanned for viruses prior to leaving our E-mail server. HEX shall not be liable for any consequences of any virus being passed on.