Sha256: 8f063b566d0a5f5a13fc2210e7b0ef69a8204211f3e65ab3ce41fe3612ef5df0

Contents?: true

Size: 466 Bytes

Versions: 33

Compression:

Stored size: 466 Bytes

Contents

module HoboDebugHelper
  extend HoboHelperBase
  protected
    def abort_with(*args)
      raise args.*.pretty_inspect.join("-------\n")
    end

    def log_debug(*args)
      return if not logger
      logger.debug("\n### DRYML Debug ###")
      logger.debug(args.*.pretty_inspect.join("-------\n"))
      logger.debug("DRYML THIS = #{this.typed_id rescue this.inspect}")
      logger.debug("###################\n")
      args.first unless args.empty?
    end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo-2.0.0.pre6 app/helpers/hobo_debug_helper.rb
hobo-2.0.0.pre5 app/helpers/hobo_debug_helper.rb
hobo-2.0.0.pre4 app/helpers/hobo_debug_helper.rb
hobo-2.0.0.pre3 app/helpers/hobo_debug_helper.rb
hobo-2.0.0.pre2 app/helpers/hobo_debug_helper.rb
hobo-2.0.0.pre1 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre8 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre7 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre6 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre5 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre4 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre3 app/helpers/hobo_debug_helper.rb
hobo-1.4.0.pre2 app/helpers/hobo_debug_helper.rb