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

Inherits:
Struct
  • Object
show all
Defined in:
/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb

Overview

A class representing a Sass function signature.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Array<String>) args

The names of the arguments to the function.

Returns:

  • (Array<String>)

    the current value of args



370
371
372
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 370

def args
  @args
end

- (Array<String>) delayed_args

The names of the arguments whose evaluation should be delayed.

Returns:

  • (Array<String>)

    the current value of delayed_args



370
371
372
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 370

def delayed_args
  @delayed_args
end

- (Object) deprecated

Returns the value of attribute deprecated

Returns:

  • (Object)

    the current value of deprecated



370
371
372
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 370

def deprecated
  @deprecated
end

- (Boolean) var_args

Whether the function takes a variable number of arguments.

Returns:

  • (Boolean)

    the current value of var_args



370
371
372
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 370

def var_args
  @var_args
end

- (Boolean) var_kwargs

Whether the function takes an arbitrary set of keyword arguments.

Returns:

  • (Boolean)

    the current value of var_kwargs



370
371
372
# File '/Users/ceppstei/Projects/sass-lang/.sass/lib/sass/script/functions.rb', line 370

def var_kwargs
  @var_kwargs
end