Sha256: 81961c4f703397f1c65de9d2c58502023fcb60ad68a8c9594ba8ff227ae6e409

Contents?: true

Size: 235 Bytes

Versions: 96

Compression:

Stored size: 235 Bytes

Contents

# --- Fix pp dumps - these break sometimes without this --- #
require 'pp'
module PP::ObjectMixin

  alias_method :orig_pretty_print, :pretty_print
  def pretty_print(q)
    orig_pretty_print(q)
  rescue
    "[#PP-ERROR#]"
  end

end

Version data entries

96 entries across 96 versions & 3 rubygems

Version Path
hobo_support-1.3.0.RC2 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.RC1 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.RC lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre31 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre29 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre28 lib/hobo_support/fixes/pp.rb
hobosupport-1.0.3 lib/hobo_support/fixes/pp.rb
hobosupport-1.1.0.pre4 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre27 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre26 lib/hobo_support/fixes/pp.rb
hobosupport-1.1.0.pre3 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre25 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre24 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre23 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre22 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre21 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre20 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre19 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre18 lib/hobo_support/fixes/pp.rb
hobosupport-1.1.0.pre2 lib/hobo_support/fixes/pp.rb