From: nobu.nokada@... Date: 2004-12-07T09:25:13+09:00 Subject: Re: [patch] Obtaining mode information on an IO object Hi, At Tue, 7 Dec 2004 04:22:22 +0900, Jos Backus wrote in [ruby-core:03907]: > The attached patch implements IO#mode. This method returns the mode the IO > object was opened with as a String. Example: > > f = File.new("testfile") > f.mode #=> "r" "mode" feels confusing as "stat.mode", how about "accmode" instead? -- Nobu Nakada