Class: Yass::Selector::Namespace

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

Constant Summary collapse

RUBY_METHODS =
%i(kind prefix url).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



190
191
192
# File 'lib/yass/selectors.rb', line 190

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

#kindObject



194
195
196
# File 'lib/yass/selectors.rb', line 194

def kind
  :namespace
end