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
-
0.1.2
-
source
- 0.1.2 source March 02, 2020 (9.5 KB)
-
-
0.1.1
-
source
- 0.1.1 source November 06, 2019 (8 KB)
-