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.

Returns __self__.

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


115
116
117
# File 'lib/informix/seqcursor.rb', line 115

def each(&block)
  each0(Array, false, &block)
end