diff options
author | Adam Cozzette <acozzette@gmail.com> | 2016-04-28 08:26:26 -0700 |
---|---|---|
committer | Adam Cozzette <acozzette@gmail.com> | 2016-04-28 08:26:26 -0700 |
commit | b53417c7356deab70f44b60bd7e6270023ddc3b6 (patch) | |
tree | 7271a40d8e2decb3b23723e0735019aceb00b213 | |
parent | cbb6b285d7211dfa3cff1cc6ab2c3c78e5719b23 (diff) | |
parent | bbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c (diff) | |
download | protobuf-b53417c7356deab70f44b60bd7e6270023ddc3b6.tar.gz protobuf-b53417c7356deab70f44b60bd7e6270023ddc3b6.tar.bz2 protobuf-b53417c7356deab70f44b60bd7e6270023ddc3b6.zip |
Merge pull request #1462 from acozzette/ruby-2.3
Added dig and bsearch_index to RepeatedField methods forwarded to array
-rw-r--r-- | ruby/lib/google/protobuf/repeated_field.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/lib/google/protobuf/repeated_field.rb b/ruby/lib/google/protobuf/repeated_field.rb index 16c843c0..0ad2060d 100644 --- a/ruby/lib/google/protobuf/repeated_field.rb +++ b/ruby/lib/google/protobuf/repeated_field.rb @@ -69,8 +69,8 @@ module Google # relationship explicit instead of implicit def_delegators :to_ary, :&, :*, :-, :'<=>', - :assoc, :bsearch, :combination, :compact, :count, :cycle, - :drop, :drop_while, :eql?, :fetch, :find_index, :flatten, + :assoc, :bsearch, :bsearch_index, :combination, :compact, :count, + :cycle, :dig, :drop, :drop_while, :eql?, :fetch, :find_index, :flatten, :include?, :index, :inspect, :join, :pack, :permutation, :product, :pretty_print, :pretty_print_cycle, :rassoc, :repeated_combination, :repeated_permutation, :reverse, |