Sha256: 7ead1eff63ddcceb25452c4d91d1a52c196b63861509afe28e883e587f4b8d0a

Contents?: true

Size: 936 Bytes

Versions: 2

Compression:

Stored size: 936 Bytes

Contents

#
# = dev-utils/debug.rb
#
# See DevUtils::Debug for documentation.
#

  #
  # Base module for <tt>dev-utils</tt>.
  #
module DevUtils
    #
    # <tt>DevUtils::Debug</tt> contains methods to aid debugging Ruby programs, although when
    # using these methods, you don't care about the module; it is included into the top-level
    # when you <code>require 'dev-utils/debug'</code>.
    #
    # The methods are:
    # * #breakpoint, for escaping to IRB from a running program, with local environment intact;
    # * #debug, for logging debugging messages to a zero-conf logfile; and
    # * #trace, for tracing expressions to that same file.
    #
    # Planned features include a method for determining the difference between two complex
    # objects.
    #
  module Debug
  end
end

require 'dev-utils/debug/irb'
require 'dev-utils/debug/log'
#require 'dev-utils/debug/diff'

include DevUtils::Debug

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dev-utils-1.0 lib/dev-utils/debug.rb
dev-utils-1.0.1 lib/dev-utils/debug.rb