Sha256: 64b7d20af1c586c6ac5fd9661917c6fcc0a4e0d208b867395ff49e709d1257db

Contents?: true

Size: 212 Bytes

Versions: 16

Compression:

Stored size: 212 Bytes

Contents

require 'pp'
require 'stringio'

module Kernel
  private
  def pp_s(*objs)
      s = StringIO.new
      objs.each {|obj|
        PP.pp(obj, s)
      }
      s.rewind
      s.read
  end
  module_function :pp_s
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
valdemaximus-xx-0.1.11 lib/extensions/pp_s.rb
valdemaximus-xx-0.1.3 lib/extensions/pp_s.rb
valdemaximus-xx-0.1.4 lib/extensions/pp_s.rb
valdemaximus-xx-0.2.0 lib/extensions/pp_s.rb
valdemaximus-xx-0.2.1 lib/extensions/pp_s.rb
valdemaximus-xx-0.2.2 lib/extensions/pp_s.rb
valdemaximus-xx-0.3.0 lib/extensions/pp_s.rb
valdemaximus-xx-0.4.0 lib/extensions/pp_s.rb
valdemaximus-xx-0.4.1 lib/extensions/pp_s.rb
valdemaximus-xx-0.5.0 lib/extensions/pp_s.rb
valdemaximus-xx-0.7.0 lib/extensions/pp_s.rb
valdemaximus-xx-0.6.4 lib/extensions/pp_s.rb
valdemaximus-xx-0.6.3 lib/extensions/pp_s.rb
valdemaximus-xx-0.6.2 lib/extensions/pp_s.rb
valdemaximus-xx-0.6.1 lib/extensions/pp_s.rb
valdemaximus-xx-0.6.0 lib/extensions/pp_s.rb