Class: TZInfo::Timezone
- Inherits:
-
Object
- Object
- TZInfo::Timezone
- Defined in:
- lib/ruby-daemonic-threads/patches/timezone.rb
Overview
@@loaded_zones hash must be mutexed
Constant Summary collapse
- @@loaded_zones_mutex =
Mutex.new
Class Method Summary collapse
Class Method Details
.get(identifier) ⇒ Object
30 31 32 33 34 |
# File 'lib/ruby-daemonic-threads/patches/timezone.rb', line 30 def get(identifier) @@loaded_zones_mutex.synchronize do unsafe_get(identifier) end end |
.unsafe_get ⇒ Object
28 |
# File 'lib/ruby-daemonic-threads/patches/timezone.rb', line 28 alias_method :unsafe_get, :get |