# File lib/ruby2ruby.rb, line 334 def process_dasgn_curr(exp) lhs = exp.shift.to_s rhs = exp.shift rescue nil return lhs if rhs.nil? return "#{lhs} = #{process rhs}" unless rhs.first == :dasgn_curr # keep recursing. ensure that the leaf node assigns to _something_ rhs = process rhs if rhs =~ /=/ then "#{lhs} = #{rhs}" else "" end end