# File lib/xml/dom/core.rb, line 1670 def createAttribute(name) ret = Attr.new(name) ret.ownerDocument = self ret end