Sha256: 4cf4dd0117d1a3a80a955ce238ddc728a9954206be0dfb7290260037a889b381
Contents?: true
Size: 582 Bytes
Versions: 4
Compression:
Stored size: 582 Bytes
Contents
-# coding: utf-8 - groups = {pool: "pool", targethost: "target"} %h2 Transfer rates - groups.each do |group_by, group_title| - rates_by_status = $queue.rate_by(group_by) %table.table.table-striped.table-hover.table-condensed %thead %tr %th= "by #{group_title}" %th.text-right bitrate %tbody - rates_by_status.each do |group, rate| - next if group.nil? - trclass = (rate.nil? ? "" : "info") %tr{class: trclass} %td = group %td.text-right = format_bytes(rate, "bps")
Version data entries
4 entries across 4 versions & 1 rubygems