Method: ActiveSupport::Testing::Parallelization::Server#active_workers?

Defined in:
activesupport/lib/active_support/testing/parallelization/server.rb

#active_workers?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'activesupport/lib/active_support/testing/parallelization/server.rb', line 48

def active_workers?
  @active_workers.size > 0
end