Method: Host::Linux::Processor#get

Defined in:
lib/host/linux/processor.rb

#get(key) ⇒ Object

Retrieves a specific data stored on /proc/cpuinfo for the given key.



52
53
54
# File 'lib/host/linux/processor.rb', line 52

def get(key)
  @current_core && @current_core[key.to_sym]
end