mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
This is not being used
This commit is contained in:
parent
dfdc292e35
commit
dc33dac56b
@ -8,18 +8,6 @@ module ActiveModel
|
||||
@mutex = Mutex.new
|
||||
end
|
||||
|
||||
def [](key)
|
||||
@mutex.synchronize do
|
||||
@data[key.to_s]
|
||||
end
|
||||
end
|
||||
|
||||
def []=(key, value)
|
||||
@mutex.synchronize do
|
||||
@data[key.to_s] = value
|
||||
end
|
||||
end
|
||||
|
||||
def each(&block)
|
||||
@mutex.synchronize do
|
||||
@data.each(&block)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user