Flowdock
method

show

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: ThreadHistoryDisplay

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

show() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/thread_history_display.rb, line 16
    def show
      puts "Job History:"
      stats.each do |stat|
        stat[:data] ||= {}
        rename(stat, :thread, threads)
        rename(stat[:data], :item_id, items)
        rename(stat[:data], :new_thread, threads)
        rename(stat[:data], :deleted_thread, threads)
        printf("%8d %2s %-20s %s\n",
          (stat[:time] * 1_000_000).round,
          stat[:thread],
          stat[:event],
          stat[:data].map do |k, v| "#{k}:#{v}" end.join(" "))
      end
    end
Register or log in to add new notes.