{"type":"rich","image_url":null,"provider_name":"Hatena Blog","title":"Node.js\u304b\u3089ruby.wasm\u3092\u4f7f\u3063\u3066Ruby\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076","author_url":"https://blog.hatena.ne.jp/ledsun/","categories":["ruby.wasm"],"blog_title":"@ledsun blog","version":"1.0","published":"2025-12-30 18:09:07","description":"Node.js\u304b\u3089ruby.wasm\u3092\u52d5\u304b\u3059 - @ledsun blog \u306e\u7d9a\u304d\u3067\u3059\u3002 index.mjs\u3092\u6b21\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002 import { readFile } from \"node:fs/promises\"; import { createRequire } from \"node:module\"; import { DefaultRubyVM } from \"@ruby/wasm-wasi/dist/node\"; const vm = await initRubyVM(); const script = ` class Dog def name()= 'jhon' end Dog.\u2026","blog_url":"https://ledsun.hatenablog.com/","height":"190","url":"https://ledsun.hatenablog.com/entry/2025/12/30/180907","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fledsun.hatenablog.com%2Fentry%2F2025%2F12%2F30%2F180907\" title=\"Node.js\u304b\u3089ruby.wasm\u3092\u4f7f\u3063\u3066Ruby\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076 - @ledsun blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","author_name":"ledsun"}