Skip to content

Commit 92b9ff8

Browse files
Fix method name case
1 parent 32cbe2f commit 92b9ff8

File tree

1 file changed

+3
-3
lines changed
  • packages/npm-packages/ruby-wasm-wasi/src

1 file changed

+3
-3
lines changed

packages/npm-packages/ruby-wasm-wasi/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ export class RubyVM {
113113
return value;
114114
},
115115
procToJsFunction: (rawRbAbiValue) => {
116-
const rbValue = this.rbValueofPointer(rawRbAbiValue);
116+
const rbValue = this.rbValueOfPointer(rawRbAbiValue);
117117
return (...args) => {
118118
rbValue.call("call", ...args.map((arg) => this.wrap(arg)));
119119
};
120120
},
121121
rbObjectToJsRbValue: (rawRbAbiValue) => {
122-
return this.rbValueofPointer(rawRbAbiValue);
122+
return this.rbValueOfPointer(rawRbAbiValue);
123123
},
124124
jsValueToString: (value) => {
125125
// According to the [spec](https://tc39.es/ecma262/multipage/text-processing.html#sec-string-constructor-string-value)
@@ -288,7 +288,7 @@ export class RubyVM {
288288
};
289289
}
290290

291-
private rbValueofPointer(pointer: number): RbValue {
291+
private rbValueOfPointer(pointer: number): RbValue {
292292
const abiValue = new (RbAbi.RbAbiValue as any)(pointer, this.guest);
293293
return new RbValue(abiValue, this, this.privateObject());
294294
}

0 commit comments

Comments
 (0)