Sha256: 13d47de5b5e84ca7a7e899494d529d0347dcb78645ddc5b17f60d30b92a0ebfe

Contents?: true

Size: 411 Bytes

Versions: 562

Compression:

Stored size: 411 Bytes

Contents

module Nokogiri
  module XML
    module PP
      module CharacterData
        def pretty_print pp # :nodoc:
          nice_name = self.class.name.split('::').last
          pp.group(2, "#(#{nice_name} ", ')') do
            pp.pp text
          end
        end

        def inspect # :nodoc:
          "#<#{self.class.name}:#{sprintf("0x%x",object_id)} #{text.inspect}>"
        end
      end
    end
  end
end

Version data entries

562 entries across 533 versions & 51 rubygems

Version Path
nokogiri-1.10.4-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.4-java lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.3 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.3-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.3-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.3-java lib/nokogiri/xml/pp/character_data.rb
tdiary-5.0.13 vendor/bundle/gems/nokogiri-1.10.2/lib/nokogiri/xml/pp/character_data.rb
tdiary-5.0.12.1 vendor/bundle/gems/nokogiri-1.10.2/lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.2 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.2-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.2-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.2-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.1-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.1-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.1-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.1 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb