Google

def value return @value unless @normalized doctype = nil if @element doc = @element.document doctype = doc.doc_type if doc end @normalized = false @value = Text::unnormalize( @value, doctype ) end