Sha256: a8667c512277fcd5091f1892a0d9082762c05a7a1e843736e122c1c67361389a

Contents?: true

Size: 516 Bytes

Versions: 22

Compression:

Stored size: 516 Bytes

Contents

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

22 entries across 22 versions & 3 rubygems

Version Path
libxml-ruby-r19mingw-1.1.4 lib/libxml/ns.rb
libxml-ruby-1.1.4 lib/libxml/ns.rb
libxml-ruby-1.1.4-x86-mswin32-60 lib/libxml/ns.rb
coupa-libxml-ruby-1.1.4 lib/libxml/ns.rb
libxml-ruby-0.9.6 lib/libxml/ns.rb
libxml-ruby-0.9.6-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-0.9.7-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-0.9.7 lib/libxml/ns.rb
libxml-ruby-1.1.0 lib/libxml/ns.rb
libxml-ruby-0.9.8 lib/libxml/ns.rb
libxml-ruby-0.9.8-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-0.9.9-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-1.0.0 lib/libxml/ns.rb
libxml-ruby-1.0.0-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-1.1.0-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-0.9.9 lib/libxml/ns.rb
libxml-ruby-1.1.2-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-1.1.3 lib/libxml/ns.rb
libxml-ruby-1.1.3-x86-mswin32-60 lib/libxml/ns.rb
libxml-ruby-1.1.1-x86-mswin32-60 lib/libxml/ns.rb