Method: Host::Linux::Processor#cores

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

#coresObject

Returns the number of cores identified on the system



12
13
14
# File 'lib/host/linux/processor.rb', line 12

def cores
  @info.size
end