We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47d294 commit c5431eaCopy full SHA for c5431ea
lib/concurrent-ruby/concurrent/map.rb
@@ -143,8 +143,15 @@ def [](key)
143
end
144
145
146
+ # Set a value with key
147
+ # @param [Object] key
148
+ # @param [Object] value
149
+ # @return [Object] the new value
150
+ def []=(key, value)
151
+ super
152
+ end
153
+
154
alias_method :get, :[]
- # TODO (pitr-ch 30-Oct-2018): doc
155
alias_method :put, :[]=
156
157
# Get a value with key, or default_value when key is absent,
0 commit comments