# File lib/dbi/dbi.rb, line 683 def ping raise InterfaceError, "Database connection was already closed!" if @handle.nil? @handle.ping end