# File lib/ruby2ruby.rb, line 334 def process_ensure(exp) body = process exp.shift ens = exp.shift ens = nil if ens == s(:nil) ens = process(ens) || "# do nothing" body.sub!(/\n\s*end\z/, '') return "#{body}\nensure\n#{indent ens}" end