Class: RubyWasm::BuildParams

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_wasm/build/build_params.rb,
sig/ruby_wasm/build.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBuildParams

Returns a new instance of BuildParams.

Parameters:

  • name: (string)
  • target: (Target)
  • default_exts: (string)


56
# File 'sig/ruby_wasm/build.rbs', line 56

def initialize: (name: string, target: Target, default_exts: string) -> void

Instance Attribute Details

#default_extsObject

Returns the value of attribute default_exts

Returns:

  • (Object)

    the current value of default_exts



2
3
4
# File 'lib/ruby_wasm/build/build_params.rb', line 2

def default_exts
  @default_exts
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/ruby_wasm/build/build_params.rb', line 2

def name
  @name
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



2
3
4
# File 'lib/ruby_wasm/build/build_params.rb', line 2

def target
  @target
end