Sha256: f66bff88f3fd96049bf69beab427a42d06fed331e055bc1476cc2ba9cc43dfee

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

module Authenticate
  module Debug
    extend ActiveSupport::Concern

    def d(msg)
      # todo check: Rails constant loaded? Authenticate config read? do a puts otherwise
      Rails.logger.info msg.to_s if Authenticate.configuration.debug
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authenticate-0.2.0 lib/authenticate/debug.rb