Skip to content

Commit 3e7328a

Browse files
authored
Merge pull request #574 from bkutil/doc-typo-fixes
Typo fixes in timer task comments
2 parents dcff3c1 + 13d6a7c commit 3e7328a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/concurrent.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
# Object references in Ruby are mutable. This can lead to serious
6666
# problems when the {#value} of an object is a mutable reference. Which
6767
# is always the case unless the value is a `Fixnum`, `Symbol`, or similar
68-
# "primative" data type. Each instance can be configured with a few
68+
# "primitive" data type. Each instance can be configured with a few
6969
# options that can help protect the program from potentially dangerous
70-
# operations. Each of these options can be optionally set when the oject
70+
# operations. Each of these options can be optionally set when the object
7171
# instance is created:
7272
#
7373
# * `:dup_on_deref` When true the object will call the `#dup` method on
74-
# the `value` object every time the `#value` methid is called
74+
# the `value` object every time the `#value` method is called
7575
# (default: false)
7676
# * `:freeze_on_deref` When true the object will call the `#freeze`
7777
# method on the `value` object every time the `#value` method is called

lib/concurrent/timer_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module Concurrent
4141
#
4242
# The `TimerTask` class includes the `Dereferenceable` mixin module so the
4343
# result of the last execution is always available via the `#value` method.
44-
# Derefencing options can be passed to the `TimerTask` during construction or
44+
# Dereferencing options can be passed to the `TimerTask` during construction or
4545
# at any later time using the `#set_deref_options` method.
4646
#
4747
# `TimerTask` supports notification through the Ruby standard library

0 commit comments

Comments
 (0)