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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1.2 - March 02, 2020 (9,5 KB)
  2. 0.1.1 - November 06, 2019 (8 KB)
Zeige alle Versionen (3 total)

Development Abhängigkeiten (3):

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

Besitzer:

Pushed by:

Autoren:

  • Harris Thompson

SHA 256-Prüfsumme:

c20dffdd1b227580a4bab8f92bd7d1ca78a005b898983ca6285001ae7f795b79

Downloads insgesamt 8.805

Für diese Version 5.819

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: