From: 7stud -- Date: 2011-03-07T06:55:45+09:00 Subject: Re: What does "ARGF.class" mean? Joey Zhou wrote in post #985705: > ruby 1.9.2p180 (2011-02-18) [i386-mingw32] > > irb(main):001:0> ARGF.class > => ARGF.class > > What does "ARGF.class" mean? Isn't ARGF a special IO object, whose class > is "IO", just like STDIN? > > irb(main):002:0> STDIN.class > => IO First note that your output is not ARGFCLASS. You really are getting no output--if what you posted is correct; irb just output what you typed in. In ruby 1.8.6, I get Object for the output, but as you mentioned I would have expected ARGF to be some kind of IO object. -- Posted via http://www.ruby-forum.com/.