You are here

public function SassBoolean::toString in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/script/literals/SassBoolean.php \SassBoolean::toString()

* Returns a string representation of the value. *

Return value

string string representation of the value.

Overrides SassLiteral::toString

File

phamlp/sass/script/literals/SassBoolean.php, line 54

Class

SassBoolean
SassBoolean class. @package PHamlP @subpackage Sass.script.literals

Code

public function toString() {
  return $this
    ->getValue() ? 'true' : 'false';
}