2014-06-04から1日間の記事一覧
The array is changed instantly every time the block is called, not after the iteration is over. http://www.ruby-doc.org/core-2.1.2/Array.html#method-i-delete_if ようするに条件ブロックが true を返したら次に条件ブロックが実行されるときには、…
The array is changed instantly every time the block is called, not after the iteration is over. http://www.ruby-doc.org/core-2.1.2/Array.html#method-i-delete_if ようするに条件ブロックが true を返したら次に条件ブロックが実行されるときには、…