Dir.foreach( path ) do |ding|
if File::directory?( pad + "/" + thing )
   # do something
   @result.text File.mtime( path + "/" + thing )
This is a piece of Ruby in Shoes. All works fine, i can open the file with or open etc.

However asking the mtime or size gives no results. I tried File.mtime( thing with or withour path ) and File:mtime and all permutations with names etc. What is wrong?