Method: Informix::SequentialCursor#each_hash_by

Defined in:
lib/informix/seqcursor.rb

#each_hash_by(n, &block) ⇒ Object

Iterates over the remaining records, passing at most n records to the block as hashes.

Returns __self__.

cursor.each_hash_by(n) {|records| block } => cursor


165
166
167
# File 'lib/informix/seqcursor.rb', line 165

def each_hash_by(n, &block)
  each_by0(n, Hash, &block)
end