method
select_first
v3.0.9 -
Show latest stable
- Class:
HTML::Selector
select_first(root)public
Similar to #select but returns the first matching element. Returns nil if no element matches the selector.
select_first(root)Similar to #select but returns the first matching element. Returns nil if no element matches the selector.