Class: AppEngine::Datastore::Iterable

Inherits:
Object
  • Object
show all
Defined in:
lib/appengine-apis/datastore.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(array) ⇒ Iterable

Returns a new instance of Iterable.



559
560
561
# File 'lib/appengine-apis/datastore.rb', line 559

def initialize(array)
  @array = array
end

Instance Method Details

#iteratorObject



563
564
565
# File 'lib/appengine-apis/datastore.rb', line 563

def iterator
  Iterator.new(@array)
end