method
count_with_default
v2_2_9 -
Show latest stable
- Class:
Rake::CpuCounter
count_with_default(default=4)public
No documentation available.
# File lib/rake/cpu_counter.rb, line 10
def count_with_default(default=4)
count || default
rescue StandardError
default
end