Method: Informix::SequentialCursor#each_by
- Defined in:
- lib/informix/seqcursor.rb
#each_by(n, &block) ⇒ Object
Iterates over the remaining records, passing at most n records to the block as arrays.
Returns __self__.
cursor.each_by(n) {|records| block } => cursor
155 156 157 |
# File 'lib/informix/seqcursor.rb', line 155 def each_by(n, &block) each_by0(n, Array, &block) end |