1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Remove about FrozenError from Ractor::MovedObject [ci skip]

Because unfreeze Ractor::MovedObject at
76e8848037
This commit is contained in:
Kazuhiro NISHIYAMA 2020-12-21 13:25:03 +09:00
parent 1ecac8e4d0
commit 74a7877836
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -2009,15 +2009,6 @@ ractor_moved_missing(int argc, VALUE *argv, VALUE self)
* # => true
* ary.inspect
* # Ractor::MovedError (can not send any methods to a moved object)
*
* The class MovedObject is frozen to avoid tampering with it:
*
* class Ractor::MovedObject
* def inspect
* "<MyMovedObject>"
* end
* end
* # FrozenError (can't modify frozen class: Ractor::MovedObject)
*/
// Main docs are in ractor.rb, but without this clause there are weird artifacts