class Rake::CpuCounter

def self.count

:nodoc: all
http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed
Based on a script at:
def self.count
  new.count_with_default
end