mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
This is not being used
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user