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
4646 end
4747
4848 # 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}
5050 # @see Concurrent::Actor::AbstractContext.spawn
5151 # @see Core#initialize
5252 # @example by class and name
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module Concurrent
3434 # When an Erlang module implements the `gen_server` behavior it becomes
3535 # inherently asynchronous. The `start` or `start_link` function spawns a
3636 # 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
3838 # send messages to the `gen_server` via the `cast` and `call` methods. Unlike
3939 # Erlang's `gen_server`, however, `Async` classes do not support linking or
4040 # supervision trees.
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ module Concurrent
6161 # set + [set[-2..-1].reduce{|sum,x| sum + x }]
6262 # end
6363 #
64- # # create an atom with aninitial value
64+ # # create an atom with an initial value
6565 # atom = Concurrent::Atom.new(next_fibonacci)
6666 #
6767 # # send a few update requests
@@ -144,7 +144,7 @@ def initialize(value, opts = {})
144144 # @param [Object] args Zero or more arguments passed to the block.
145145 #
146146 # @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 .
148148 # @yieldparam value [Object] The current value of the atom.
149149 # @yieldparam args [Object] All arguments passed to the function, in order.
150150 # @yieldreturn [Object] The intended new value of the atom.
You can’t perform that action at this time.
0 commit comments