Sha256: 0ee53ff7582f7a99a1804b0ebe9ec5364a6674285ce96a475ba1ab0d40da9ff5

Contents?: true

Size: 290 Bytes

Versions: 25

Compression:

Stored size: 290 Bytes

Contents

module Logatron
  class Contexts
    def self.site
      Thread.current[SITE]
    end

    def self.site=(site)
      Thread.current[SITE] = site
    end

    def self.msg_id
      Thread.current[MSG_ID]
    end

    def self.msg_id=(id)
      Thread.current[MSG_ID] = id
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
logatron-0.16.1 lib/logatron/contexts.rb
logatron-0.16.0 lib/logatron/contexts.rb
logatron-0.15.0 lib/logatron/contexts.rb
logatron-0.14.0 lib/logatron/contexts.rb
logatron-0.13.0 lib/logatron/contexts.rb
logatron-0.12.0 lib/logatron/contexts.rb
logatron-0.11.0 lib/logatron/contexts.rb
logatron-0.10.0 lib/logatron/contexts.rb
logatron-0.9.0 lib/logatron/contexts.rb
logatron-0.8.0 lib/logatron/contexts.rb
logatron-0.7.0 lib/logatron/contexts.rb
logatron-0.6.0 lib/logatron/contexts.rb
logatron-0.5.0 lib/logatron/contexts.rb
logatron-0.3.0 lib/logatron/contexts.rb
logatron-0.2.6 lib/logatron/contexts.rb
logatron-0.2.5 lib/logatron/contexts.rb
logatron-0.2.4 lib/logatron/contexts.rb
logatron-0.2.3 lib/logatron/contexts.rb
logatron-0.2.2 lib/logatron/contexts.rb
logatron-0.2.1 lib/logatron/contexts.rb