Class: Nokogiri::XML::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf/xsd/extensions.rb

Instance Method Summary collapse

Instance Method Details

#doctypeObject


120
121
122
# File 'lib/rdf/xsd/extensions.rb', line 120

def doctype
  self.children.first rescue false
end