From: "halogenandtoast (Matthew Mongeau)" Date: 2013-02-20T11:24:31+09:00 Subject: [ruby-core:52550] [ruby-trunk - Bug #7890] Data class should have documentation Issue #7890 has been updated by halogenandtoast (Matthew Mongeau). I have a lack of experience with redmine. I don't see my patch attached, so just incase: Index: object.c =================================================================== --- object.c (revision 39327) +++ object.c (working copy) @@ -3115,6 +3115,12 @@ rb_cData = rb_define_class("Data", rb_cObject); rb_undef_alloc_func(rb_cData); + /* + * Document-class: Data + * + * This is a recommended base class for use by C extensions using Data_Make_Struct/Data_Wrap_Struct, see README.EXT for details. + */ + rb_cTrueClass = rb_define_class("TrueClass", rb_cObject); rb_define_method(rb_cTrueClass, "to_s", true_to_s, 0); rb_define_alias(rb_cTrueClass, "inspect", "to_s"); ---------------------------------------- Bug #7890: Data class should have documentation https://bugs.ruby-lang.org/issues/7890#change-36637 Author: halogenandtoast (Matthew Mongeau) Status: Open Priority: Normal Assignee: zzak (Zachary Scott) Category: DOC Target version: ruby -v: 2.0.0 This class is confusing without knowing where to lookup information. I've attached a patch that points developers to README.ext I'm assigning this to zzak, hopefully if this is the wrong person to assign it to he can assign it to someone else. -- http://bugs.ruby-lang.org/