lib/google/cloud/spanner/instance/config/list.rb in google-cloud-spanner-1.8.0 vs lib/google/cloud/spanner/instance/config/list.rb in google-cloud-spanner-1.9.0

- old
+ new

@@ -124,10 +124,10 @@ # end # def all request_limit: nil request_limit = request_limit.to_i if request_limit unless block_given? - return enum_for(:all, request_limit: request_limit) + return enum_for :all, request_limit: request_limit end results = self loop do results.each { |r| yield r } if request_limit