class File
  class Stat
    def mage
      return MAge.new(self)
    end
    class MAge
      def initialize(stat)
         @age = Time.now.to_i - stat.mtime.to_i
      end
      def day; @age / 60 / 60 / 24; end
      def hour; @age / 60 / 60; end
      def min; @age / 60; end
      def sec; @age; end
    end
  end
end


File.stat("/etc/passwd").mage.day will then return the number of days
since /etc/passwd was modified.