lib/cpu/shared.rb in cpu-0.0.0 vs lib/cpu/shared.rb in cpu-0.0.1

- old
+ new

@@ -7,10 +7,12 @@ else CPU.num_processors end end + # Set the number of processors (this causes them to becomed fixed in the + # object the CPU::Shared module was mixed into). attr_writer :num_processors # Returns the number of cores in this computer def num_cores if @num_cores @@ -18,8 +20,10 @@ else CPU.num_cores end end + # Set the number of cores (this causes them to becomed fixed in the object + # the CPU::Shared module was mixed into). attr_writer :num_cores end end