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-2.0.0.pre7 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre6 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre5 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre4 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.2 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.1 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre3 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre2 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre1 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre8 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre7 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre6 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre5 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre4 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre3 lib/hobo_support/fixes/pp.rb
hobo_support-1.4.0.pre2 lib/hobo_support/fixes/pp.rb
hobosupport-1.1.0 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.RC4 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.RC3 lib/hobo_support/fixes/pp.rb