# File lib/dbi/handles/statement.rb, line 236 236: def each(&p) 237: raise InterfaceError, "Statement was already closed!" if @handle.nil? 238: raise InterfaceError, "Statement must first be executed" unless @fetchable 239: raise InterfaceError, "No block given" unless block_given? 240: 241: fetch(&p) 242: end