class Vidibus::Sysinfo::Throughput::Result
Public Instance Methods
to_f()
click to toggle source
# File lib/vidibus/sysinfo/throughput.rb, line 26 def to_f total.to_f end
to_h()
click to toggle source
Calls superclass method
Vidibus::Sysinfo::Result#to_h
# File lib/vidibus/sysinfo/throughput.rb, line 14 def to_h super.merge(total: total) end
to_i()
click to toggle source
# File lib/vidibus/sysinfo/throughput.rb, line 22 def to_i round(total, 0).to_i end
total()
click to toggle source
# File lib/vidibus/sysinfo/throughput.rb, line 18 def total round(input + output) end