method

next_element

rails latest stable - Class: HTML::Selector

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

next_element(element, name = nil)
public

Returns the next element after this one. Skips sibling text nodes.

With the name argument, returns the next element with that name, skipping other sibling elements.