Method: Azure::Table::BatchResponse.find

Defined in:
lib/azure/table/batch_response.rb

.find(context, &block) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/azure/table/batch_response.rb', line 38

def self.find(context, &block)
  while(context[:index] < context[:lines].length)
    result = block.call(context)
    return result if result
    context[:index] +=1
  end
end