Sha256: c52c0a649d824c4b9c52355ec70a09d18916cd369805be5d001c2b878c1561d1

Contents?: true

Size: 212 Bytes

Versions: 109

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

class Object
  def print_debug
    STDERR.write(to_debug + "\n")

    self
  end

  def to_debug
    "|#{self.class}|#{self}|"
  end

  def raise_debug
    raise to_debug
  end
end

Version data entries

109 entries across 109 versions & 3 rubygems

Version Path
eac_ruby_utils-0.68.0 lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.67.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.102.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.66.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.101.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.65.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.100.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.21.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.99.1 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.64.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.99.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.98.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.97.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.96.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.63.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.95.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.62.1 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.94.3 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.62.0 lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.61.0 lib/eac_ruby_utils/patches/object/debug.rb