Sha256: 4b306e2788844737ea3700f7d88eecdadc933fa8bf9c193baae24f61069883fa

Contents?: true

Size: 300 Bytes

Versions: 118

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module Nokogiri
  module XML
    class Attr < Node
      alias_method :value, :content
      alias_method :to_s, :content
      alias_method :content=, :value=

      private

      def inspect_attributes
        [:name, :namespace, :value]
      end
    end
  end
end

Version data entries

118 entries across 116 versions & 3 rubygems

Version Path
nokogiri-1.13.7-x86-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.7-x64-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.7-x64-mingw-ucrt lib/nokogiri/xml/attr.rb
nokogiri-1.13.7-java lib/nokogiri/xml/attr.rb
nokogiri-1.13.7-arm64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.7-aarch64-linux lib/nokogiri/xml/attr.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/nokogiri-1.13.6-x86_64-linux/lib/nokogiri/xml/attr.rb
nokogiri-1.13.6 lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x86_64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x86_64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x86-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x86-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x64-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-x64-mingw-ucrt lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-java lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-arm64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.6-aarch64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.5 lib/nokogiri/xml/attr.rb
nokogiri-1.13.5-x86_64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.5-x86_64-darwin lib/nokogiri/xml/attr.rb