Class: InterMine::Results::SummaryReader

Inherits:
ResultsReader show all
Includes:
Enumerable
Defined in:
lib/intermine/results.rb

Instance Method Summary collapse

Methods inherited from ResultsReader

#each_result, #each_row, #each_summary, #get_size, #read_result_set

Constructor Details

#initialize(uri, query, start, size, path) ⇒ SummaryReader

Returns a new instance of SummaryReader.


429
430
431
432
# File 'lib/intermine/results.rb', line 429

def initialize(uri, query, start, size, path)
    super(uri, query, start, size)
    @path = path
end

Instance Method Details

#eachObject


434
435
436
# File 'lib/intermine/results.rb', line 434

def each
    each_summary(@path) {|x| yield x}
end