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

Inherits:
Struct
  • Object
show all
Defined in:
/home/nweiz/code/sass-site/.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



380
381
382
# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 380

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



380
381
382
# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 380

def delayed_args
  @delayed_args
end

- (Object) deprecated

Returns the value of attribute deprecated

Returns:

  • (Object)

    the current value of deprecated



380
381
382
# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 380

def deprecated
  @deprecated
end

- (Boolean) var_args

Whether the function takes a variable number of arguments.

Returns:

  • (Boolean)

    the current value of var_args



380
381
382
# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 380

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



380
381
382
# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 380

def var_kwargs
  @var_kwargs
end