mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Discourage use of USERDEF
This commit is contained in:
parent
9459bedd84
commit
b8af9325c0
Notes:
git
2025-03-12 12:44:49 +00:00
1 changed files with 5 additions and 0 deletions
|
@ -301,6 +301,11 @@ sequence containing the user-defined representation of the object.
|
||||||
The class method +_load+ is called on the class with a string created from the
|
The class method +_load+ is called on the class with a string created from the
|
||||||
byte-sequence.
|
byte-sequence.
|
||||||
|
|
||||||
|
This type is not recommended for newly created classes, because of some
|
||||||
|
restrictions:
|
||||||
|
|
||||||
|
- cannot have recursive reference
|
||||||
|
|
||||||
=== User Marshal
|
=== User Marshal
|
||||||
|
|
||||||
"U" represents an object with a user-defined serialization format using the
|
"U" represents an object with a user-defined serialization format using the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue