# File lib/ruby2ruby.rb, line 117 def process_attrasgn(exp) receiver = process exp.shift name = exp.shift args = exp.empty? ? nil : exp.shift case name when :[]= then rhs = process args.pop "#{receiver}[#{process(args)}] = #{rhs}" else name = name.to_s.sub(/=$/, '') if args && args != s(:arglist) then "#{receiver}.#{name} = #{process(args)}" end end end