Method: Arbi::Modules::Cpu#format
- Defined in:
- lib/arbi/modules/cpu.rb
#format ⇒ Object
45 46 47 48 49 |
# File 'lib/arbi/modules/cpu.rb', line 45 def format tablize([['NAME', 'PERCENT']] + @data.map {|x| [x[:name] || x['name'], x[:percent] || x['percent']] }) end |