mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* hash.c (rb_hash_hash): documentation fix. a patch from
Marc-Andre Lafortune. [ruby-core:23943] * object.c (rb_mod_cmp): ditto. * range.c (range_eq): ditto. * string.c (rb_str_partition, rb_str_rpartition): ditto. * struct.c (rb_struct_s_def): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
841cf3b948
commit
a5e227edfe
6 changed files with 33 additions and 15 deletions
4
struct.c
4
struct.c
|
@ -303,8 +303,8 @@ rb_struct_define(const char *name, ...)
|
|||
* which can then be used to create specific instances of the new
|
||||
* structure. The number of actual parameters must be
|
||||
* less than or equal to the number of attributes defined for this
|
||||
* class; unset parameters default to \nil{}. Passing too many
|
||||
* parameters will raise an \E{ArgumentError}.
|
||||
* class; unset parameters default to <code>nil</code>. Passing too many
|
||||
* parameters will raise an <code>ArgumentError</code>.
|
||||
*
|
||||
* The remaining methods listed in this section (class and instance)
|
||||
* are defined for this generated class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue