Sha256: 594d5053781706b59b3135e482e92f45f6da2a89824c0ef8f4378ad03a446244

Contents?: true

Size: 233 Bytes

Versions: 3

Compression:

Stored size: 233 Bytes

Contents

module CanTango
  module Helpers
    module Debug
      # you can set another writer on CanTango.config.debug, fx to spec it!
      def debug msg
        CanTango.config.debug.write msg if CanTango.debug?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cantango-core-0.1.2 lib/cantango/helpers/debug.rb
cantango-core-0.1.1 lib/cantango/helpers/debug.rb
cantango-core-0.1.0 lib/cantango/helpers/debug.rb