# File wm.rb, line 562 def each if block_given? original_each do |c| # resolve stale paths caused by destructive operations if c.is_a?(Wmii::Client) && !c.exist? puts "\n trying to resolve nonexistent client: #{c.path}" if $DEBUG c = Wmii.find_client(c.basename, Wmii.current_view) next unless c puts "resolution OK: #{c.path}" if $DEBUG end yield c end end end