Class: Yass::Selector::NthOf

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/yass/selectors.rb

Constant Summary collapse

RUBY_METHODS =
%i(kind nth selectors).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



246
247
248
# File 'lib/yass/selectors.rb', line 246

def accept(visitor)
  visitor.visit_selector_nth_of(self)
end

#kindObject



250
251
252
# File 'lib/yass/selectors.rb', line 250

def kind
  :nth_of
end