Bug #7890
closed
Data class should have documentation
Added by halogenandtoast (Matthew Mongeau) almost 12 years ago.
Updated almost 12 years ago.
Description
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.
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);
- Status changed from Open to Closed
This issue was solved with changeset r39330.
Matthew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
I've supposed removal of Data in Ruby level.
nobu (Nobuyoshi Nakada) wrote:
I've supposed removal of Data in Ruby level.
It's my understanding that a lot of people feel that way, might be worth deprecating because I'd be uncertain as to how many C extensions use this. I know ruby std-lib has it in curses, iconv, raddrinfo, stringio, tcltklib, and win32ole. The core has it in marshal, transcode, and error. I don't currently understand the functionality behind TypedData_Make_Struct and Data_Wrap_Struct so I'm not sure how these libraries would be affected.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0