File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 65
65
# Object references in Ruby are mutable. This can lead to serious
66
66
# problems when the {#value} of an object is a mutable reference. Which
67
67
# 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
69
69
# 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
71
71
# instance is created:
72
72
#
73
73
# * `: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
75
75
# (default: false)
76
76
# * `:freeze_on_deref` When true the object will call the `#freeze`
77
77
# method on the `value` object every time the `#value` method is called
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ module Concurrent
41
41
#
42
42
# The `TimerTask` class includes the `Dereferenceable` mixin module so the
43
43
# 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
45
45
# at any later time using the `#set_deref_options` method.
46
46
#
47
47
# `TimerTask` supports notification through the Ruby standard library
You can’t perform that action at this time.
0 commit comments