Sha256: 52d39c3a3e422838caa5716e6b546994e38aaa848c73e475700b1f8f1a2021ab

Contents?: true

Size: 556 Bytes

Versions: 42

Compression:

Stored size: 556 Bytes

Contents

# encoding: UTF-8

module LibXML
  module XML
    class NS < Namespace # :nodoc: 
      def initialize(node, prefix, href)
        warn('The XML::NS class is deprecated.  Use XML::Namespace instead.')
        super(node, href, prefix)
      end

      def href?
        warn('XML::NS#href? is deprecated.  Use !XML::NS#href.nil? instead.')
        not self.href.nil?
      end

      def prefix?
        warn('XML::NS#prefix? is deprecated.  Use !XML::NS#prefix?.nil? instead.')
        not self.previx.nil?
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
libxml-ruby-2.9.0-x64-mingw32 lib/libxml/ns.rb
libxml-ruby-2.9.0 lib/libxml/ns.rb
libxml-ruby-2.8.0 lib/libxml/ns.rb
libxml-ruby-2.7.0-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.7.0 lib/libxml/ns.rb
libxml-ruby-2.6.0-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.6.0 lib/libxml/ns.rb
libxml-ruby-2.5.0-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.5.0 lib/libxml/ns.rb
libxml-ruby-2.4.0-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.4.0 lib/libxml/ns.rb
libxml-ruby-2.3.3-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.3.3 lib/libxml/ns.rb
libxml-ruby-2.3.2 lib/libxml/ns.rb
libxml-ruby-2.3.0-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.3.0 lib/libxml/ns.rb
libxml-ruby-2.2.2-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.2.2 lib/libxml/ns.rb
libxml-ruby-2.2.1-x86-mingw32 lib/libxml/ns.rb
libxml-ruby-2.2.1 lib/libxml/ns.rb