Sha256: 6b86ecc1de04df9ff70de070b0b913e15767303dd7f8b78683a054086253e950

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

# encoding: utf-8

module Concern
  module Audit
    module Author

      def self.current=(author)
        Thread.current[:current_author] = author
      end

      def self.current
        Thread.current[:current_author]
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ar-audit-tracer-2.0.1 lib/concern/audit/author.rb
ar-audit-tracer-2.0.0 lib/concern/audit/author.rb
ar-audit-tracer-1.0.2 lib/concern/audit/author.rb
ar-audit-tracer-1.0.1 lib/concern/audit/author.rb
ar-audit-tracer-1.0.0 lib/concern/audit/author.rb