File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed
lib/concurrent-ruby/concurrent Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ We also have a [IRC (gitter)](https://gitter.im/ruby-concurrency/concurrent-ruby
105
105
Collection classes that were originally part of the (deprecated) ` thread_safe ` gem:
106
106
107
107
* [ Array] ( http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Array.html ) A thread-safe
108
- subclass of Ruby's standard [ Array] ( http://ruby-doc.org/core-2.2.0 /Array.html ) .
108
+ subclass of Ruby's standard [ Array] ( http://ruby-doc.org/core/Array.html ) .
109
109
* [ Hash] ( http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Hash.html ) A thread-safe
110
- subclass of Ruby's standard [ Hash] ( http://ruby-doc.org/core-2.2.0 /Hash.html ) .
110
+ subclass of Ruby's standard [ Hash] ( http://ruby-doc.org/core/Hash.html ) .
111
111
* [ Set] ( http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Set.html ) A thread-safe
112
112
subclass of Ruby's standard [ Set] ( http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html ) .
113
113
* [ Map] ( http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Map.html ) A hash-like object
@@ -122,7 +122,7 @@ Value objects inspired by other languages:
122
122
immutable object representing an optional value, based on
123
123
[ Haskell Data.Maybe] ( https://hackage.haskell.org/package/base-4.2.0.1/docs/Data-Maybe.html ) .
124
124
125
- Structure classes derived from Ruby's [ Struct] ( http://ruby-doc.org/core-2.2.0 /Struct.html ) :
125
+ Structure classes derived from Ruby's [ Struct] ( http://ruby-doc.org/core/Struct.html ) :
126
126
127
127
* [ ImmutableStruct] ( http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/ImmutableStruct.html )
128
128
Immutable struct where values are set at construction and cannot be changed later.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module Concurrent
16
16
# operation therefore when two `+=` operations are executed concurrently updates
17
17
# may be lost. Use `#concat` instead.
18
18
#
19
- # @see http://ruby-doc.org/core-2.2.0 /Array.html Ruby standard library `Array`
19
+ # @see http://ruby-doc.org/core/Array.html Ruby standard library `Array`
20
20
21
21
# @!macro internal_implementation_note
22
22
ArrayImplementation = case
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module Concurrent
10
10
# or writing at a time. This includes iteration methods like `#each`,
11
11
# which takes the lock repeatedly when reading an item.
12
12
#
13
- # @see http://ruby-doc.org/core-2.2.0 /Hash.html Ruby standard library `Hash`
13
+ # @see http://ruby-doc.org/core/Hash.html Ruby standard library `Hash`
14
14
15
15
# @!macro internal_implementation_note
16
16
HashImplementation = case
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module Concurrent
5
5
6
6
# A thread-safe, immutable variation of Ruby's standard `Struct`.
7
7
#
8
- # @see http://ruby-doc.org/core-2.2.0 /Struct.html Ruby standard library `Struct`
8
+ # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct`
9
9
module ImmutableStruct
10
10
include Synchronization ::AbstractStruct
11
11
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module Concurrent
6
6
# An thread-safe variation of Ruby's standard `Struct`. Values can be set at
7
7
# construction or safely changed at any time during the object's lifecycle.
8
8
#
9
- # @see http://ruby-doc.org/core-2.2.0 /Struct.html Ruby standard library `Struct`
9
+ # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct`
10
10
module MutableStruct
11
11
include Synchronization ::AbstractStruct
12
12
@@ -40,7 +40,7 @@ module MutableStruct
40
40
# struct. Unset parameters default to nil. Passing more parameters than number of attributes
41
41
# will raise an `ArgumentError`.
42
42
#
43
- # @see http://ruby-doc.org/core-2.2.0 /Struct.html#method-c-new Ruby standard library `Struct#new`
43
+ # @see http://ruby-doc.org/core/Struct.html#method-c-new Ruby standard library `Struct#new`
44
44
45
45
# @!macro struct_values
46
46
#
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module Concurrent
9
9
# or any time thereafter. Attempting to assign a value to a member
10
10
# that has already been set will result in a `Concurrent::ImmutabilityError`.
11
11
#
12
- # @see http://ruby-doc.org/core-2.2.0 /Struct.html Ruby standard library `Struct`
12
+ # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct`
13
13
# @see http://en.wikipedia.org/wiki/Final_(Java) Java `final` keyword
14
14
module SettableStruct
15
15
include Synchronization ::AbstractStruct
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ module Synchronization
26
26
# the classes using it. Use {Synchronization::Object} not this abstract class.
27
27
#
28
28
# @note this object does not support usage together with
29
- # [`Thread#wakeup`](http://ruby-doc.org/core-2.2.0 /Thread.html#method-i-wakeup)
30
- # and [`Thread#raise`](http://ruby-doc.org/core-2.2.0 /Thread.html#method-i-raise).
29
+ # [`Thread#wakeup`](http://ruby-doc.org/core/Thread.html#method-i-wakeup)
30
+ # and [`Thread#raise`](http://ruby-doc.org/core/Thread.html#method-i-raise).
31
31
# `Thread#sleep` and `Thread#wakeup` will work as expected but mixing `Synchronization::Object#wait` and
32
32
# `Thread#wakeup` will not work on all platforms.
33
33
#
You can’t perform that action at this time.
0 commit comments