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
hobosupport-0.8.9 lib/hobo_support/fixes/pp.rb
hobosupport-0.8.8 lib/hobo_support/fixes/pp.rb
hobo-support-0.1 lib/hobosupport/fixes/pp.rb
hobosupport-0.1 lib/hobosupport/fixes/pp.rb
hobosupport-0.8.5 lib/hobo_support/fixes/pp.rb
hobosupport-0.8.4 lib/hobo_support/fixes/pp.rb
hobosupport-0.8.3 lib/hobosupport/fixes/pp.rb
hobosupport-0.8.2 lib/hobosupport/fixes/pp.rb
hobosupport-0.8.7 lib/hobo_support/fixes/pp.rb
hobosupport-0.8.6 lib/hobo_support/fixes/pp.rb
hobosupport-0.8 lib/hobosupport/fixes/pp.rb
hobosupport-0.7.5 lib/hobosupport/fixes/pp.rb
hobosupport-0.7.4 lib/hobosupport/fixes/pp.rb
hobosupport-0.7.3.99 lib/hobosupport/fixes/pp.rb
hobosupport-0.2 lib/hobosupport/fixes/pp.rb
hobosupport-0.8.1 lib/hobosupport/fixes/pp.rb