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.0-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0.rc1 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0.rc1-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0.rc1-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.0.rc1-java lib/nokogiri/xml/pp/character_data.rb
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.4/lib/nokogiri/xml/pp/character_data.rb
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.5/lib/nokogiri/xml/pp/character_data.rb
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.9.1/lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.1 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.1-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.1-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.1-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0.rc1 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0.rc1-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.9.0.rc1-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb