Class: Sass::Script::Bool

Inherits:
Literal show all
Defined in:
lib/sass/script/bool.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Literal

#value

Instance Method Summary collapse

Methods inherited from Literal

#==, #and, #comma, #concat, #eq, #initialize, #inspect, #neq, #or, #perform, #to_i, #unary_not

Constructor Details

This class inherits a constructor from Sass::Script::Literal

Instance Method Details

#to_boolObject



9
10
11
# File 'lib/sass/script/bool.rb', line 9

def to_bool
  @value
end

#to_sObject



5
6
7
# File 'lib/sass/script/bool.rb', line 5

def to_s
  @value.to_s
end