Class: Nokogiri::XML::Document

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

Instance Method Summary collapse

Instance Method Details

#doctypeObject



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

def doctype
  self.children.first rescue false
end