Sha256: 5eaf9f4c4d51d5ebda91326e686eb0bf7976a7195f6df72fdd6d00a398d32653

Contents?: true

Size: 494 Bytes

Versions: 42

Compression:

Stored size: 494 Bytes

Contents

# encoding: UTF-8

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

42 entries across 42 versions & 1 rubygems

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