Sha256: b0c42f75b476ce3d82f476dd9ad1f58f53e9532cdd20dbb94e45d69fc9634229
Contents?: true
Size: 311 Bytes
Versions: 5
Compression:
Stored size: 311 Bytes
Contents
module Authenticate module Debug extend ActiveSupport::Concern def debug(msg) if defined?(Rails) && defined?(Rails.logger) Rails.logger.info msg.to_s if Authenticate.configuration.debug else puts msg.to_s if Authenticate.configuration.debug end end end end
Version data entries
5 entries across 5 versions & 1 rubygems