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.



397
398
399
400
# File 'lib/intermine/results.rb', line 397

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

Instance Method Details

#eachObject



402
403
404
# File 'lib/intermine/results.rb', line 402

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