class SassC::Script::Value::Bool
A SassScript object representing a boolean (true or false) value.
Constants
- FALSE
The false value in SassScript. This is assigned before new is overridden below so that we use the default implementation.
- TRUE
The true value in SassScript. This is assigned before new is overridden below so that we use the default implementation.
Attributes
to_bool[R]
The pure Ruby value of this Boolean
value[R]
The pure Ruby value of this Boolean
Public Class Methods
new(value)
click to toggle source
Public Instance Methods
to_s(opts = {})
click to toggle source
Returns the string “true” or “false” for this value
# File lib/sassc/script/value/bool.rb, line 27 def to_s(opts = {}) @value.to_s end
Also aliased as: to_sass