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.



423
424
425
426
# File 'lib/intermine/results.rb', line 423

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

Instance Method Details

#eachObject



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

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