Class: Sass::Script::Functions::EvaluationContext
- Includes:
- Sass::Script::Functions
- Defined in:
- lib/sass/script/functions.rb
Overview
The context in which methods in Sass::Script::Functions are evaluated. That means that all instance methods of EvaluationContext are available to use in functions.
Instance Attribute Summary collapse
-
#options ⇒ Hash<Symbol, Object>
readonly
The options hash for the Engine that is processing the function call.
Instance Method Summary collapse
-
#initialize(options) ⇒ EvaluationContext
constructor
A new instance of EvaluationContext.
Methods included from Sass::Script::Functions
#abs, #ceil, #floor, #hsl, #percentage, #rgb, #round
Constructor Details
#initialize(options) ⇒ EvaluationContext
Returns a new instance of EvaluationContext.
57 58 59 |
# File 'lib/sass/script/functions.rb', line 57
def initialize(options)
@options = options
end
|