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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.1.2 - March 02, 2020 (9,5 KB)
  2. 0.1.1 - November 06, 2019 (8 KB)
Mostrar todas las versiones (3 total)

dependencias de Development (3):

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

Propietarios:

Subida por:

Autores:

  • Harris Thompson

SHA 256 checksum:

c20dffdd1b227580a4bab8f92bd7d1ca78a005b898983ca6285001ae7f795b79

Total de descargas 8.775

Para esta versión 5.792

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: