浏览代码

Ruby: removed redundant RepeatedField#slice. (#2449)

Joshua Haberman 9 年之前
父节点
当前提交
057389cae3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruby/lib/google/protobuf/repeated_field.rb

+ 1 - 1
ruby/lib/google/protobuf/repeated_field.rb

@@ -74,7 +74,7 @@ module Google
         :include?, :index, :inspect, :join,
         :pack, :permutation, :product, :pretty_print, :pretty_print_cycle,
         :rassoc, :repeated_combination, :repeated_permutation, :reverse,
-        :rindex, :rotate, :sample, :shuffle, :shelljoin, :slice,
+        :rindex, :rotate, :sample, :shuffle, :shelljoin,
         :to_s, :transpose, :uniq, :|