Sha256: 63727c3345e90153bdd0379a6fcc380a6bbfe293e82eb7cb1e6729b430d84dba

Contents?: true

Size: 462 Bytes

Versions: 69

Compression:

Stored size: 462 Bytes

Contents

module Nokogiri
  module XML
    class EntityReference < Node

      def self.new(document, name, *rest) # :nodoc:
        node_ptr = LibXML.xmlNewReference(document.cstruct, name)
        node_cstruct = LibXML::XmlNode.new(node_ptr)
        node_cstruct.keep_reference_from_document!

        node = Node.wrap(node_cstruct, self)
        node.send :initialize, document, name, *rest
        yield node if block_given?
        node
      end

    end
  end
end

Version data entries

69 entries across 69 versions & 10 rubygems

Version Path
revo-nokogiri-1.4.0.20100202165440-java lib/nokogiri/ffi/xml/entity_reference.rb
akamai_bookmarklet-0.1.1 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/ffi/xml/entity_reference.rb
akamai_bookmarklet-0.1.0 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.1-x86-mswin32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.1-x86-mingw32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.1-java lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.1 lib/nokogiri/ffi/xml/entity_reference.rb
superfeedr-nokogiri-1.4.0.20091116183308 lib/nokogiri/ffi/xml/entity_reference.rb
caring-nokogiri-1.4.1.pre1 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.0-java lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.0-x86-mswin32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.0-x86-mingw32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.4.0 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.3-x86-mswin32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.3-x86-mingw32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.3-java lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.2-x86-mswin32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.2-x86-mingw32 lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.2-java lib/nokogiri/ffi/xml/entity_reference.rb
nokogiri-1.3.0-x86-mingw32 lib/nokogiri/ffi/xml/entity_reference.rb