Module: Sass::Script::Functions
- Defined in:
- lib/jacket.rb
Instance Method Summary collapse
-
#list_separator(list) ⇒ Object
Returns the separator of the given list.
Instance Method Details
#list_separator(list) ⇒ Object
Returns the separator of the given list. If not a list, returns false.
24 25 26 27 28 29 30 |
# File 'lib/jacket.rb', line 24 def list_separator(list) if list.class == Sass::Script::List or list.class == Sass::Script::ArgList Sass::Script::String.new(list.separator.to_s) else Sass::Script::String.new('space') end end |