Sha256: 41797ae513ec668e639c3d2872ee905414113aefc5a929895a161efeef73f36b

Contents?: true

Size: 453 Bytes

Versions: 16

Compression:

Stored size: 453 Bytes

Contents

module LibXML
  module XML
    class Node
      def property(name)
        warn('Node#properties is deprecated.  Use Node#[] instead.')
        self[name]
      end

      def properties
        warn('Node#properties is deprecated.  Use Node#attributes instead.')
        self.attributes
      end

      def properties?
        warn('Node#properties? is deprecated.  Use Node#attributes? instead.')
        self.attributes?
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

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