module EPUB::Parser::XMLDocument::Refinements::Nokogiri
Public Instance Methods
Source
# File lib/epub/parser/xml_document/refinements/nokogiri.rb, line 13 def attribute_with_prefix(name, prefix = nil) attribute_with_ns(name, EPUB::NAMESPACES[prefix])&.value end
Source
# File lib/epub/parser/xml_document/refinements/nokogiri.rb, line 17 def each_element(xpath = nil, &block) element_children.each(&block) end
Source
# File lib/epub/parser/xml_document/refinements/nokogiri.rb, line 9 def each_element_by_xpath(xpath, namespaces = nil, &block) xpath(xpath, namespaces).each &block end
Source
# File lib/epub/parser/xml_document/refinements/nokogiri.rb, line 23 def namespace_uri namespace.href end