diff options
author | Adam Cozzette <acozzette@google.com> | 2016-04-27 10:40:54 -0700 |
---|---|---|
committer | Adam Cozzette <acozzette@google.com> | 2016-04-27 10:51:22 -0700 |
commit | bbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c (patch) | |
tree | 2e1114cd9e5004d554876d5f66e16cb04ee7386e /ruby/ext/google/protobuf_c/encode_decode.c | |
parent | 66f074592dc343d6b4f7ad62fda5c26cccf6bf45 (diff) | |
download | protobuf-bbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c.tar.gz protobuf-bbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c.tar.bz2 protobuf-bbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c.zip |
Added dig and bsearch_index to RepeatedField methods forwarded to array
This fixes the test_acts_likes_an_array test in RepeatedFieldTest, which
checks that repeated fields respond to the same methods as regular Ruby
arrays. The bsearch_index and dig array methods seem to be new in Ruby
2.3 and so we should support those.
Diffstat (limited to 'ruby/ext/google/protobuf_c/encode_decode.c')
0 files changed, 0 insertions, 0 deletions