# File lib/util.rb, line 50 def flatten_one_level inject([]) do |ret, e| case e when Array ret + e else ret << e end end end