Method: Informix::SequentialCursor#each!

Defined in:
lib/informix/seqcursor.rb

#each!(&block) ⇒ Object

Iterates over the remaining records, passing each record to the block as an array. No new Array objects are created for each record. The same Array object is reused in each call.

Returns __self__.

cursor.each! {|record| block } => cursor


126
127
128
# File 'lib/informix/seqcursor.rb', line 126

def each!(&block)
  each0(Array, true, &block)
end