From ce9bc764ea216d60f28da17160bd20a68815ce9d Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 26 Jan 2022 08:59:45 +0100 Subject: [PATCH] Update WeakRef#initialize documentation This is no longer true since https://bugs.ruby-lang.org/issues/16035 which landed in Ruy 2.7.0. I'm not sure if it's best to remove that sentence or to add that it only applies to 2.6 and older. --- lib/weakref.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/weakref.rb b/lib/weakref.rb index fbd5d8f..78aad1f 100644 --- a/lib/weakref.rb +++ b/lib/weakref.rb @@ -30,9 +30,6 @@ class RefError < StandardError ## # Creates a weak reference to +orig+ - # - # Raises an ArgumentError if the given +orig+ is immutable, such as Symbol, - # Integer, or Float. def initialize(orig) case orig