diff options
author | Adam Greene <adam.greene@gmail.com> | 2015-05-01 11:54:29 -0700 |
---|---|---|
committer | Adam Greene <adam.greene@gmail.com> | 2015-05-01 22:50:57 -0700 |
commit | d55733c76ee1db702529f38f602548ffe48a4ab1 (patch) | |
tree | c40fc1f7c0c249c5d66fc6429222414cb5fcdf94 /post_process_dist.sh | |
parent | c70b6058eaae4fa5b1af577c548e6809a53dfd98 (diff) | |
download | protobuf-d55733c76ee1db702529f38f602548ffe48a4ab1.tar.gz protobuf-d55733c76ee1db702529f38f602548ffe48a4ab1.tar.bz2 protobuf-d55733c76ee1db702529f38f602548ffe48a4ab1.zip |
return nil if array index indicie is out of bounds
ruby arrays don't throw an exception; they return nil. Lets do the
same!
this fix also includes the ability to use negative array indicies
Diffstat (limited to 'post_process_dist.sh')
0 files changed, 0 insertions, 0 deletions