Skip to content

Instantly share code, notes, and snippets.

@tmtm
Last active December 21, 2015 06:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmtm/6262344 to your computer and use it in GitHub Desktop.
Save tmtm/6262344 to your computer and use it in GitHub Desktop.

パーフェクトRuby読んでて気になったところのメモ

全般

Ruby 1.8 は本書では対象としてないので、ところどころにある「Ruby 1.9 以降では」という記述は要らないと思う。

2章

p.62 「5番目の要素をつくると」は「6番目の要素をつくると」の誤り?

p.64 「abc = ('a'..'c')」の括弧は不要。あってもいいけど。

3章

p.78 「stone = 'ruby'」 空白が妙に長い

p.85 「例外を補足するには」→「例外を捕捉するには」の誤り

p.86 「例外が補足されます」「例外を補足する例です」→ どちらも「捕捉」の誤り

p.88 「ここで補足される」→ 「捕捉」の誤り

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment