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
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/nokogiri-1.13.3-arm64-darwin/lib/nokogiri/xml/attr.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/nokogiri-1.13.8-arm64-darwin/lib/nokogiri/xml/attr.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/nokogiri-1.13.8-arm64-darwin/lib/nokogiri/xml/attr.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/nokogiri-1.13.3-arm64-darwin/lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x86_64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x86-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.10 lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x86_64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-arm64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-java lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x64-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-aarch64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x86-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.10-x64-mingw-ucrt lib/nokogiri/xml/attr.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/nokogiri-1.13.9-x86_64-linux/lib/nokogiri/xml/attr.rb
nokogiri-1.13.9 lib/nokogiri/xml/attr.rb
nokogiri-1.13.9-x86_64-linux lib/nokogiri/xml/attr.rb
nokogiri-1.13.9-x86_64-darwin lib/nokogiri/xml/attr.rb
nokogiri-1.13.9-x86-mingw32 lib/nokogiri/xml/attr.rb
nokogiri-1.13.9-x86-linux lib/nokogiri/xml/attr.rb