# File lib/ruport/data/record.rb, line 202 def rename_attribute(old_name,new_name,update_index=true) @attributes[@attributes.index(old_name)] = new_name if update_index @data[new_name] = @data.delete(old_name) end