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