Google

def QuickPath::first element, path, namespaces=EMPTY_HASH match(element, path, namespaces)[0] end