The class_names function takes any number of arguments which can be a string or hash. The argument 'foo' is short for { foo: true }. If the value associated with a given key is falsy (nil or false), that key won't be included in the output.

Required Ruby Version

>= 0

Authors

Harris Thompson

Versions

  1. 0.1.2 March 02, 2020 (9.5 KB)
  2. 0.1.1 November 06, 2019 (8 KB)
Show all versions (3 total)

Pushed by

SHA 256 checksum