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.2.6 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.5 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.4 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.3 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.2 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.1 lib/hobo_support/fixes/pp.rb
hobo_support-2.2.0 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.2 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.1 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.0 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.0.pre4 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.0.pre3 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.0.pre2 lib/hobo_support/fixes/pp.rb
hobo_support-2.1.0.pre1 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.1 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre10 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre9 lib/hobo_support/fixes/pp.rb
hobo_support-2.0.0.pre8 lib/hobo_support/fixes/pp.rb
hobo_support-1.3.3 lib/hobo_support/fixes/pp.rb