# File lib/dbi/handles/database.rb, line 102 102: def select_one(stmt, *bindvars) 103: raise InterfaceError, "Database connection was already closed!" if @handle.nil? 104: row = nil 105: execute(stmt, *bindvars) do |sth| 106: row = sth.fetch 107: end 108: row 109: end