Method: Sass::Script::Functions#keywords
- Defined in:
- lib/sass/script/functions.rb
#keywords($args) ⇒ Sass::Script::Value::Map
Returns the map of named arguments passed to a function or mixin that
takes a variable argument list. The argument names are strings, and they
do not contain the leading $.
2355 2356 2357 2358 |
# File 'lib/sass/script/functions.rb', line 2355
def keywords(args)
assert_type args, :ArgList, :args
map(Sass::Util.map_keys(args.keywords.as_stored) {|k| Sass::Script::Value::String.new(k)})
end
|