From: anieden@... (Axel Niedenhoff) Date: 2001-11-14T20:33:13+09:00 Subject: [ruby-talk:25162] parsedate: NameError when calling sub! Hello! Warning ... this might be a newbie question ... In the following line of Ruby code I'm trying to print an asterisk when the modification date of a file is earlier than a certain threshold (with threshold being a Date object). print '*' if Date.new(ParseDate.parsedate(File.stat(fileName).mtime, true)[0, 2]) < threshold I get the following message: e:/ruby/lib/ruby/1.6/ParseDate.rb:23:in `parsedate': private method `sub!' called for Tue Nov 13 17:00:37 W. Europe Standard Time 2001:Time (NameError) Any ideas what went wrong? Kind regards, Axel <><