You are here

public function CompassList::toString in Sassy 7

* Returns a string representation of the value. *

Return value

string string representation of the value.

Overrides SassLiteral::toString

File

phamlp/sass/extensions/compass/functions/colourStops.php, line 34

Class

CompassList
Compass extension List object. @package PHamlP @subpackage Sass.extensions.compass.functions

Code

public function toString() {
  $values = array();
  foreach ($this->value as $value) {
    $values[] = $value
      ->toString();
  }
  return join(', ', $values);
}