Class | Sass::Script::Functions::EvaluationContext |
In: |
lib/sass/script/functions.rb
|
Parent: | Object |
The context in which methods in {Script::Functions} are evaluated. That means that all instance methods of {EvaluationContext} are available to use in functions.
options | [R] |
The options hash for the {Sass::Engine}
that is processing the function call
@return [{Symbol => Object}] |
Asserts that the type of a given SassScript value is the expected type (designated by a symbol). For example:
assert_type value, :String assert_type value, :Number
Valid types are `:Bool`, `:Color`, `:Number`, and `:String`. Note that `:String` will match both double-quoted strings and unquoted identifiers.
@param value [Sass::Script::Literal] A SassScript value @param type [Symbol] The name of the type the value is expected to be