Sha256: 5db162f968a9e41598dd57b5256d46ec8bec9736745dab42781f100662c4d9ae
Contents?: true
Size: 690 Bytes
Versions: 35
Compression:
Stored size: 690 Bytes
Contents
module Nokogiri module LibXML # :nodoc: module XmlXpathContextMixin # :nodoc: def self.included(base) base.class_eval do layout( :doc, :pointer, :node, :pointer ) end end def node LibXML::XmlNode.new(self[:node]) end def doc LibXML::XmlDocumentCast.new(self[:doc]) end end class XmlXpathContext < FFI::ManagedStruct # :nodoc: include XmlXpathContextMixin def self.release ptr LibXML.xmlXPathFreeContext(ptr) end end class XmlXpathContextCast < FFI::Struct # :nodoc: include XmlXpathContextMixin end end end
Version data entries
35 entries across 35 versions & 7 rubygems