Google

def to_s return @string if @raw or not @normalized doctype = nil if @parent doc = @parent.document doctype = doc.doc_type if doc end @normalized = false @string = Text::unnormalize( @string, doctype ) end