ミームの死骸を待ちながら

We are built as gene machines and cultured as meme machines, but we have the power to turn against our creators. We, alone on earth, can rebel against the tyranny of the selfish replicators. - Richard Dawkins "Selfish Gene"

We are built as gene machines and cultured as meme machines, but we have the power to turn against our creators.
We, alone on earth, can rebel against the tyranny of the selfish replicators.
- Richard Dawkins "Selfish Gene"

リファレンスマニュアルより

  • each_index {|index| .... }

各要素のインデックスに対してブロックを評価します。 以下と同じです。
(0 ... ary.size).each {|index| .... }
self を返します。

  • 左式 while 右式

右辺の式を評価した値が真の間、左辺を繰り返し実行します。
左辺の式が rescue 節も ensure 節もない begin である場合には、 それを最初に一回評価してから繰り返します。