Sha256: 452c473927977bf2ee065239e0b4e3be5d95c3ff48e96632684d5beb947eac17
Contents?: true
Size: 334 Bytes
Versions: 26
Compression:
Stored size: 334 Bytes
Contents
# Compact function pulled from compass module Bourbon::SassExtensions::Functions::Compact def compact(*args) sep = :comma if args.size == 1 && args.first.is_a?(Sass::Script::List) args = args.first.value sep = args.first.separator end Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep) end end
Version data entries
26 entries across 26 versions & 1 rubygems