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 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments