# File lib/dbi/dbi.rb, line 651 def select_one(stmt, *bindvars) raise InterfaceError, "Database connection was already closed!" if @handle.nil? row = nil execute(stmt, *bindvars) do |sth| row = sth.fetch end row end