Method: REXML::QuickPath.first

Defined in:
lib/rexml/quickpath.rb

.first(element, path, namespaces = EMPTY_HASH) ⇒ Object



14
15
16
# File 'lib/rexml/quickpath.rb', line 14

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