Class: Sass::Script::Functions::Signature

Inherits:
Struct
  • Object
show all
Defined in:
lib/sass/script/functions.rb

Overview

A class representing a Sass function signature.

Instance Attribute Summary collapse

Instance Attribute Details

#argsArray<Symbol>

The names of the arguments to the function.

Returns:

  • (Array<Symbol>)

    the current value of args



214
215
216
# File 'lib/sass/script/functions.rb', line 214

def args
  @args
end

#var_argsBoolean

Whether the function takes a variable number of arguments.

Returns:

  • (Boolean)

    the current value of var_args



214
215
216
# File 'lib/sass/script/functions.rb', line 214

def var_args
  @var_args
end

#var_kwargsBoolean

Whether the function takes an arbitrary set of keyword arguments.

Returns:

  • (Boolean)

    the current value of var_kwargs



214
215
216
# File 'lib/sass/script/functions.rb', line 214

def var_kwargs
  @var_kwargs
end