ブロックの章。2-3回読んだ気がする。 タイトルで想像していたものより,内容の深いものであった。 ブロックで、変数のスコープをうまくコントロールする妙技がこの章のキーの一つになる。さわりだけ解説。 times = 3 [1, 2, 3].map{ |n| n * times } timesが…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.