aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@gmail.com>2016-04-28 08:26:26 -0700
committerAdam Cozzette <acozzette@gmail.com>2016-04-28 08:26:26 -0700
commitb53417c7356deab70f44b60bd7e6270023ddc3b6 (patch)
tree7271a40d8e2decb3b23723e0735019aceb00b213
parentcbb6b285d7211dfa3cff1cc6ab2c3c78e5719b23 (diff)
parentbbb68fe63d0c77d19cb7ecccbfb77c8bdccf751c (diff)
downloadprotobuf-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.rb4
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,