Flowdock
method

nth_child

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - 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.

nth_child(a, b, of_type, reverse) protected

Returns a lambda that can match an element against the nth-child pseudo class, given the following arguments:

  • a – Value of a part.

  • b – Value of b part.

  • of_type – True to test only elements of this type (of-type).

  • reverse – True to count in reverse order (last-).

Show source
Register or log in to add new notes.