Browse Source

Merge pull request #1462 from acozzette/ruby-2.3

Added dig and bsearch_index to RepeatedField methods forwarded to array
Adam Cozzette 9 years ago
parent
commit
b53417c735
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ruby/lib/google/protobuf/repeated_field.rb

+ 2 - 2
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,