Class Sass::Script::Value::Null
In: lib/sass/script/value/null.rb
Parent: Base

A SassScript object representing a null value.

Methods

inspect   new   null?   to_bool   to_s   to_sass  

Constants

NULL = new(nil)   The null value in SassScript.

This is assigned before new is overridden below so that we use the default implementation.

Public Class methods

We override object creation so that users of the core API will not need to know that null is a specific constant.

@private @return [Null] the {NULL} constant.

Public Instance methods

Returns a string representing a null value.

@return [String]

@return [Boolean] `true`

@return [Boolean] `false` (the Ruby boolean value)

@return [String] ’’ (An empty string)

[Validate]