PicoRuby.wasmで遊ぶのに便利なライブラリ作ったぞ!

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
ItoJum PRO
November 23, 2026

 PicoRuby.wasmで遊ぶのに便利なライブラリ作ったぞ!

ItoJum PRO

November 23, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

9 slides
  1. 使い方 <script type="text/ruby-importmap"> { "imports": { "picodx": "npm:[email protected]" } }

    </script> <script type="text/ruby" src="https://cdn.jsdelivr.net/npm/importmap-picoruby@0/loader.rb"></script> <script type="text/ruby-app" src="src/main.rb"></script> <script src="https://cdn.jsdelivr.net/npm/@picoruby/[email protected]/dist/init.iife.js"></script> ビルドはいらいない
  2. 使い方 これでRubyのrequireが動くようになったやったね # src/main.rb require "picodx" # import mapから require

    "./lib/enemy" # 自分のファイル def start_scene require "title" # メソッドの中も TitleScene.new end

More Decks by ItoJum

Other Decks in Programming