Class: Opal::BuilderScheduler::Prefork
- Inherits:
-
Opal::BuilderScheduler
- Object
- Opal::BuilderScheduler
- Opal::BuilderScheduler::Prefork
- Defined in:
- opal/lib/opal/builder_scheduler/prefork.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Opal::BuilderScheduler
Instance Method Summary collapse
-
#process_requires(rel_path, requires, autoloads, options) ⇒ Object
We hook into the process_requires method.
Methods inherited from Opal::BuilderScheduler
Constructor Details
This class inherits a constructor from Opal::BuilderScheduler
Instance Method Details
#process_requires(rel_path, requires, autoloads, options) ⇒ Object
We hook into the process_requires method
9 10 11 12 13 14 15 16 17 18 |
# File 'opal/lib/opal/builder_scheduler/prefork.rb', line 9 def process_requires(rel_path, requires, autoloads, ) return if requires.empty? if @in_fork io = @in_fork io.send(:new_requires, rel_path, requires, autoloads, ) else prefork_reactor(rel_path, requires, autoloads, ) end end |