Example code is incorrect in lesson 40
オープン
まだ誰も着手していません。
- 主要言語
- Ruby
- スター
- 256
- フォーク
- 110
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
source/try_ruby_en.json の 41 行目を開き、レッスンのテキストとそのサンプルコードを比較します。サンプルがレッスンで指定された年を使用し、報告されたエラーなしで実行されることを確認します。レッスンのサンプルがその指示と整合していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ruby
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100