Class: Yass::Selector::Host

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

Constant Summary collapse

RUBY_METHODS =
%i(kind selector).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



134
135
136
# File 'lib/yass/selectors.rb', line 134

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

#kindObject



138
139
140
# File 'lib/yass/selectors.rb', line 138

def kind
  :host
end