Class: RubyWasm::Packager::Core

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/ruby_wasm/packager/core.rb

Defined Under Namespace

Classes: BuildStrategy, DynamicLinking, StaticLinking

Instance Method Summary collapse

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, options)
  strategy = build_strategy
  strategy.build(executor, options)
end