Example code is incorrect in lesson 40
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- ruby
調査の方向性
source/try_ruby_en.json の 41 行目を開き、レッスンのテキストとそのサンプルコードを比較します。サンプルがレッスンで指定された年を使用し、報告されたエラーなしで実行されることを確認します。レッスンのサンプルがその指示と整合していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The text in this lesson is asking the user to find the number of plays Shakespeare wrote in 1591 using the count_plays method, but in the example code, count_plays is called with a year value of 0. As a result the code errors if not modified.
The last line of the example code should read as follows:
puts count_plays(1591)
If nobody else beats me to it, I'll gladly open a PR for this when I have a bit more time.
- 主要言語
- Ruby
- スター
- 258
- フォーク
- 113
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/TryRuby のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
-
docs: clarify default parameter behavior in section Quickening it Up and fix Portuguese translation typo対応中かも @MatheoPaiva が 2 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 40/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
似ている issue
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
betagouv/conseillers-entreprises#4808 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
yosiat/panko_serializer#250 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
cline/mcp-marketplace#3886 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100