# File lib/ruby2ruby.rb, line 159 def process_block(exp) result = [] exp << nil if exp.empty? until exp.empty? do code = exp.shift if code.nil? or code.first == :nil then result << "# do nothing" else result << process(code) end end result = result.join "\n" result = case self.context[1] when nil, :scope, :if, :iter, :resbody, :when, :while then result + "\n" else "(#{result})" end return result end