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.2.0-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.2.0 lib/libxml/properties.rb
libxml-ruby-2.1.2-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.1.2 lib/libxml/properties.rb
libxml-ruby-2.1.1-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.1.1 lib/libxml/properties.rb
libxml-ruby-2.1.0-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.1.0 lib/libxml/properties.rb
libxml-ruby-2.0.9-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.9 lib/libxml/properties.rb
libxml-ruby-2.0.6-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.6 lib/libxml/properties.rb
libxml-ruby-2.0.5-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.5 lib/libxml/properties.rb
libxml-ruby-2.0.4-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.4 lib/libxml/properties.rb
libxml-ruby-2.0.3-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.3 lib/libxml/properties.rb
libxml-ruby-2.0.2-x86-mingw32 lib/libxml/properties.rb
libxml-ruby-2.0.2 lib/libxml/properties.rb