mlib: use more appropriate methods
commit6c06185c7267567fe1237737342d3d8059d4bfc3
authorEric Wong <e@80x24.org>
Mon, 25 Jan 2016 09:56:53 +0000 (25 09:56 +0000)
committerEric Wong <e@80x24.org>
Mon, 25 Jan 2016 09:56:53 +0000 (25 09:56 +0000)
treedc9eb65c51c4e69ce7211ed3b1d9426f1693a3c3
parent4c8f75cd3447e445e4a903bae0c022789c49b922
mlib: use more appropriate methods

.each on a Sequel dataset is more appropriate for the way we
emit comments.

And using Array#map! is more efficient when we do not
need the original array.
lib/dtas/mlib.rb