Class Sass::Script::Variable
In: lib/sass/script/variable.rb
Parent: Node

A SassScript parse node representing a variable.

Methods

_perform   children   inspect   new   to_sass  

Attributes

name  [R]  The name of the variable.

@return [String]

Public Class methods

@param name [String] See \{name}

Public Instance methods

Returns an empty array.

@return [Array<Node>] empty @see Node#children

@return [String] A string representation of the variable

to_sass(opts = {})

Alias for inspect

Protected Instance methods

Evaluates the variable.

@param environment [Sass::Environment] The environment in which to evaluate the SassScript @return [Literal] The SassScript object that is the value of the variable @raise [Sass::SyntaxError] if the variable is undefined

[Validate]