seems like a `map` might be a better thing to use.. and then this line can become something like
`emit a.map { |n| n[1].tr("\n", "") }.join(" ")`

unless you were using step for a specific purpose?