John-Li/my_programs — comment on commit 37dc92fb240a8a38ad025d2dcfc13aec560b1239
File: book/branching/if_else/task-4.rb line 8
By gmile:

Almost there. Just no need to `ary` here. Wonder why? Because `ary.collect! { |i| i*2 }` already returns something for us, so we can simple use it as a return value for our `revert` method