Method: SassC::Script::Value#with_contents
- Defined in:
- lib/sassc/script/value.rb
#with_contents(contents, separator: self.separator, bracketed: self.bracketed) ⇒ Sass::Script::Value::List
Creates a new list containing ‘contents` but with the same brackets and separators as this object, when interpreted as a list.
123 124 125 |
# File 'lib/sassc/script/value.rb', line 123 def with_contents(contents, separator: self.separator, bracketed: self.bracketed) SassC::Script::Value::List.new(contents, separator: separator, bracketed: bracketed) end |