Class: Nokogiri::XML::Document

Inherits:
Object
  • Object
show all
Defined in:
vendor/bundler/ruby/2.5.0/bundler/gems/rdf-xsd-0489489cebb4/lib/rdf/xsd/extensions.rb

Instance Method Summary collapse

Instance Method Details

#doctypeObject



121
122
123
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/rdf-xsd-0489489cebb4/lib/rdf/xsd/extensions.rb', line 121

def doctype
  self.children.first rescue false
end