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
husc-0.1.1 vendor/bundle/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp/character_data.rb
husc-0.1.0 vendor/bundle/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.7 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.7-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.7-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.7-java lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.6 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.6-x86-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.6-x64-mingw32 lib/nokogiri/xml/pp/character_data.rb
nokogiri-1.10.6-java lib/nokogiri/xml/pp/character_data.rb
tdiary-5.1.0 vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/pp/character_data.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb