RubyGems Navigation menu

class_names 0.1.2

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

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)

Development Dependencies (3):

bundler ~> 2.0
minitest >= 0
rake >= 0

Owners:

Pushed by:

Authors:

  • Harris Thompson

SHA 256 checksum:

c20dffdd1b227580a4bab8f92bd7d1ca78a005b898983ca6285001ae7f795b79

Total downloads 8,785

For this version 5,800

License:

MIT

Required Ruby Version: >= 0

Links: