ruby / ruby/ruby.wasm

Request: add another example, but showing how to use a gem

未关闭
#465 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Ruby
星标
875
派生
68
平均合并
9 天 5 小时
30 天内合并 PR
1

描述

Right now we have this:

Quick Example: Ruby on Web browser
Create and save index.html page with the following contents:

And this works, I tested it.

Could a second example be added, but one that also shows how to embed a simple gem?

May be enough for a "hello world", or any other simple gem for that matter.

I would like to see the syntax, for making use of gems as add-on.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从现有的“Quick Example: Ruby on Web browser”及其 index.html 示例开始。添加第二个示例,展示在浏览器中使用简单 Ruby gem 的语法,并使该示例像现有示例一样可以运行。该 issue 没有指定文档文件、gem 或 test,因此必须先找到它们。

由索引模型根据 Issue 内容生成。

评估

技术栈
ruby, wasm
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。