Skip to content

Commit 14e4cb3

Browse files
committed
Removed unnecessary #add_watch alias from CopyOnNotifyObserverSet.
1 parent 3982dfd commit 14e4cb3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/concurrent/atomic/copy_on_notify_observer_set.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ def add_observer(observer, func=:update)
2323
func
2424
end
2525

26-
alias_method :add_watch, :add_observer
27-
2826
# @param [Object] observer the observer to remove
2927
# @return [Object] the deleted observer
3028
def delete_observer(observer)

0 commit comments

Comments
 (0)