Class: Yass::Declarations::Color::ColorFunction

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

Constant Summary collapse

RUBY_METHODS =
%i(alpha color_space components has_origin_color? kind origin_color).freeze

Instance Method Summary collapse

Methods included from Node

#to_h

Instance Method Details

#accept(visitor) ⇒ Object



2815
2816
2817
# File 'lib/yass/declarations.rb', line 2815

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

#kindObject



2819
2820
2821
# File 'lib/yass/declarations.rb', line 2819

def kind
  :color_function
end