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!

instalar:
=

Versões:

  1. 0.1.2 - March 02, 2020 (9,5 KB)
  2. 0.1.1 - November 06, 2019 (8 KB)
Mostrar todas as versões (3)

Development Dependencies (3):

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

Donos:

Pushed by:

Autores:

  • Harris Thompson

SHA 256 checksum:

c20dffdd1b227580a4bab8f92bd7d1ca78a005b898983ca6285001ae7f795b79

Total de downloads 8.754

Desta versão 5.774

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: