Class: RubyWasm::Packager::Core
- Inherits:
-
Object
- Object
- RubyWasm::Packager::Core
- Extended by:
- Forwardable
- Defined in:
- lib/ruby_wasm/packager/core.rb
Defined Under Namespace
Classes: BuildStrategy, DynamicLinking, StaticLinking
Instance Method Summary collapse
- #build(executor, options) ⇒ Object
-
#initialize(packager) ⇒ Core
constructor
A new instance of Core.
Constructor Details
#initialize(packager) ⇒ Core
Returns a new instance of Core.
5 6 7 |
# File 'lib/ruby_wasm/packager/core.rb', line 5 def initialize(packager) @packager = packager end |
Instance Method Details
#build(executor, options) ⇒ Object
9 10 11 12 |
# File 'lib/ruby_wasm/packager/core.rb', line 9 def build(executor, ) strategy = build_strategy strategy.build(executor, ) end |