Sha256: 92a9dd2dc4279a90f6fb03d8464a289e57c009f1989a95964612a8a69b8c4d74

Contents?: true

Size: 635 Bytes

Versions: 18

Compression:

Stored size: 635 Bytes

Contents

# $Id: libxml.rb 374 2008-07-11 04:51:41Z cfis $ 
# Please see the LICENSE file for copyright and distribution information 


# This is for backwards compatibility and is DEPRECATED
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

18 entries across 18 versions & 1 rubygems

Version Path
libxml-ruby-0.9.1-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.0-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.0 lib/libxml/properties.rb
libxml-ruby-0.9.1 lib/libxml/properties.rb
libxml-ruby-0.9.2 lib/libxml/properties.rb
libxml-ruby-0.9.2-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.3-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.5-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.3 lib/libxml/properties.rb
libxml-ruby-0.9.6-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.4 lib/libxml/properties.rb
libxml-ruby-0.9.4-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.5 lib/libxml/properties.rb
libxml-ruby-0.9.6 lib/libxml/properties.rb
libxml-ruby-0.9.7 lib/libxml/properties.rb
libxml-ruby-0.9.7-x86-mswin32-60 lib/libxml/properties.rb
libxml-ruby-0.9.8 lib/libxml/properties.rb
libxml-ruby-0.9.8-x86-mswin32-60 lib/libxml/properties.rb