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.80.1 lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.80.0 lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.79.0 lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.28.3 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.78.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.110.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.77.1 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.109.1 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.77.0 lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.109.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.28.2 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.108.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.28.1 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.107.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.76.0 lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.28.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
avm-tools-0.106.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.27.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
eac_ruby_utils-0.75.0 lib/eac_ruby_utils/patches/object/debug.rb
ehbrs-tools-0.26.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb