ClassName::Helper#class_name

Parsed documentation:
View on GitHub
Conditionally joins a set of CSS class names into a single string

@param css_map [Hash] a mapping of CSS class names to boolean values
@return [String] a combined string of CSS classes where the value was true
@example Create a css string from a complex object
  class_name(
    "base",
    "carl-the-fog",
    hidden: article.has_chart?,
    [:foo, :bar] => false,
    [:foobar] => true
  )
  => "base carl-the-fog foobar"

read more about this [module](http://www.carlosramireziii.com/a-cleaner-way-to-set-multiple-conditional-css-classes-for-link-to.html)
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.