Class: Yass::Declarations::Color::LightDark

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

Constant Summary collapse

RUBY_METHODS =
%i(dark kind light).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



2899
2900
2901
# File 'lib/yass/declarations.rb', line 2899

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

#kindObject



2903
2904
2905
# File 'lib/yass/declarations.rb', line 2903

def kind
  :light_dark
end