0001-Improve-explanation-about-passing-more-parameters-th.patch

Prathamesh Sonpatki, 09/22/2013 08:05 PM

Download (1000 Bytes)

View differences:

struct.c
373 373
 *  The last two forms create a new instance of a struct subclass.  The number
374 374
 *  of +value+ parameters must be less than or equal to the number of
375 375
 *  attributes defined for the structure.  Unset parameters default to +nil+.
376
 *  Passing too many parameters will raise an ArgumentError.
376
 *  Passing more parameters than number of attributes will raise
377
 *  an ArgumentError.
377 378
 *
378 379
 *     # Create a structure named by its constant
379 380
 *     Customer = Struct.new(:name, :address)
380
-