# File lib/xml/dom2/document.rb, line 142 def createTextNode(data) ret = Text.new(data) ret.ownerDocument = self ret end