# File lib/unified_ruby.rb, line 360 def rewrite_yield(exp) real_array = exp.pop if exp.size == 3 if exp.size == 2 then if real_array then exp[-1] = s(:array, exp[-1]) if exp[-1][0] != :array else exp.push(*exp.pop[1..-1]) if exp.last.first == :array end end exp end