Moin, moin!

There is a description for a method that does not exist presented by
"ri":

>>>>> Console Protocol >>>>>
C:\Dokumente und Einstellungen\wolfgang>ri Dir.empty?
------------------------------------------------------------ Dir::empty?
     Dir::empty?(path)
------------------------------------------------------------------------
     Returns whether or not +path+ is empty. Returns false if +path+ is
     not a directory, or contains any files other than '.' or '..'.



C:\Dokumente und Einstellungen\wolfgang>irb
irb(main):001:0> Dir::empty?('./')
NoMethodError: undefined method `empty?' for Dir:Class
        from (irb):1
irb(main):002:0>
>>>>> EOCP >>>>>

Produced via OneClickInstaller 186-25 - ruby 1.8.6 (2007-03-13
patchlevel 0) [i386-mswin32]

Wolfgang NĂ¡dasi-Donner
-- 
Posted via http://www.ruby-forum.com/.