Sha256: 92d6c7a318a17076f1d631813c6ea31f2007653b330b69fc414a815bf2dad9c2
Contents?: true
Size: 249 Bytes
Versions: 25
Compression:
Stored size: 249 Bytes
Contents
# frozen_string_literal: true class Object def print_debug STDERR.write(to_debug + "\n") self end def to_debug "|#{::Object.instance_method(:to_s).bind(self).call}|#{self}|" end def raise_debug raise to_debug end end
Version data entries
25 entries across 25 versions & 2 rubygems