mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
struct.c (documentation for rb_struct_members_m):
fix 'array of strings' to 'array of symbols' [ruby-core:44152][Bug #6264] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
529827d711
commit
6111599230
4 changed files with 8826 additions and 13244 deletions
2
struct.c
2
struct.c
|
@ -82,7 +82,7 @@ rb_struct_s_members_m(VALUE klass)
|
|||
* call-seq:
|
||||
* struct.members -> array
|
||||
*
|
||||
* Returns an array of strings representing the names of the instance
|
||||
* Returns an array of symbols representing the names of the instance
|
||||
* variables.
|
||||
*
|
||||
* Customer = Struct.new(:name, :address, :zip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue