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-1.1.0.pre0 lib/hobo_support/fixes/pp.rb
hobosupport-1.0.2 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre16 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre15 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre14 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre13 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre12 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre11 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.0.pre10 lib/hobo_support/fixes/pp.rb
hobosupport-1.0.1 lib/hobo_support/fixes/pp.rb
hobosupport-1.0.0 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.106 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.105 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.104 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.103 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.102 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.101 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.100 lib/hobo_support/fixes/pp.rb
hobosupport-0.9.0 lib/hobo_support/fixes/pp.rb
hobosupport-0.8.10 lib/hobo_support/fixes/pp.rb