class Sass::Script::Bool - sass-3.2.19 Documentation

# class Sass::Script::Bool

A SassScript object representing a boolean (true or false) value.

### Attributes

to_bool[R]

The Ruby value of the boolean.

@return [Boolean]

value[R]

The Ruby value of the boolean.

@return [Boolean]

### Public Instance Methods

to_s(opts = {}) click to toggle source

@return [String] “true” or “false”

    # File lib/sass/script/bool.rb, line 13
    def to_s(opts = {})
      @value.to_s
    end

Also aliased as: to_sass
to_sass(opts = {})
Alias for: to_s