ruby / ruby/ruby.wasm

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

Open
#465 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
875
Forks
68
Avg merge
9d 5h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the existing “Quick Example: Ruby on Web browser” and its index.html example. Add a second example showing the syntax for using a simple Ruby gem in the browser, and make the example runnable like the existing one. The issue does not name a documentation file, gem, or test, so those must be located first.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, wasm
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.