File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def self.root
46
46
end
47
47
48
48
# Spawns a new actor. {Concurrent::Actor::AbstractContext.spawn} allows to omit class parameter.
49
- # To see the list of avaliable options see {Core#initialize}
49
+ # To see the list of available options see {Core#initialize}
50
50
# @see Concurrent::Actor::AbstractContext.spawn
51
51
# @see Core#initialize
52
52
# @example by class and name
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module Concurrent
34
34
# When an Erlang module implements the `gen_server` behavior it becomes
35
35
# inherently asynchronous. The `start` or `start_link` function spawns a
36
36
# process (similar to a thread but much more lightweight and efficient) and
37
- # reurns the ID of the process. Using the process ID, other processes can
37
+ # returns the ID of the process. Using the process ID, other processes can
38
38
# send messages to the `gen_server` via the `cast` and `call` methods. Unlike
39
39
# Erlang's `gen_server`, however, `Async` classes do not support linking or
40
40
# supervision trees.
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ module Concurrent
61
61
# set + [set[-2..-1].reduce{|sum,x| sum + x }]
62
62
# end
63
63
#
64
- # # create an atom with aninitial value
64
+ # # create an atom with an initial value
65
65
# atom = Concurrent::Atom.new(next_fibonacci)
66
66
#
67
67
# # send a few update requests
@@ -144,7 +144,7 @@ def initialize(value, opts = {})
144
144
# @param [Object] args Zero or more arguments passed to the block.
145
145
#
146
146
# @yield [value, args] Calculates a new value for the atom based on the
147
- # current value and any supplied agruments .
147
+ # current value and any supplied arguments .
148
148
# @yieldparam value [Object] The current value of the atom.
149
149
# @yieldparam args [Object] All arguments passed to the function, in order.
150
150
# @yieldreturn [Object] The intended new value of the atom.
You can’t perform that action at this time.
0 commit comments