patch for struct#members

View: New views
1 Messages — Rating Filter:   Alert me  

patch for struct#members

by gin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Team,
It seems struct#members is incorrect for ruby 1.9. It says "Returns an array of strings" while it actually returns Symbols. The example given there is correct "joe.members   #=> [:name, :address, :zip]".

Here's patch for that.
rdoc-1.9-struct-members.patch
thanks,
Gergo