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<String>

The names of the arguments to the function.

Returns:

  • (Array<String>)

    the current value of args



375
376
377
# File 'lib/sass/script/functions.rb', line 375

def args
  @args
end

#delayed_argsArray<String>

The names of the arguments whose evaluation should be delayed.

Returns:

  • (Array<String>)

    the current value of delayed_args



375
376
377
# File 'lib/sass/script/functions.rb', line 375

def delayed_args
  @delayed_args
end

#deprecatedObject

Returns the value of attribute deprecated

Returns:

  • (Object)

    the current value of deprecated



375
376
377
# File 'lib/sass/script/functions.rb', line 375

def deprecated
  @deprecated
end

#var_argsBoolean

Whether the function takes a variable number of arguments.

Returns:

  • (Boolean)

    the current value of var_args



375
376
377
# File 'lib/sass/script/functions.rb', line 375

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



375
376
377
# File 'lib/sass/script/functions.rb', line 375

def var_kwargs
  @var_kwargs
end