application_handle_info.rb 191 B

123456789
  1. module ApplicationHandleInfo
  2. def self.current
  3. Thread.current[:application_handle] || 'unknown'
  4. end
  5. def self.current=(name)
  6. Thread.current[:application_handle] = name
  7. end
  8. end