module Jekyll::Favicon::Utils::Configuration::Compact::ClassMethods
Nil and empty remove from configurations
Public Instance Methods
compact(compactable)
click to toggle source
# File lib/jekyll/favicon/utils/configuration/compact.rb, line 45 def compact(compactable) case compactable when Hash, Array Compact.compact_deep(compactable) || compactable.class[] else compactable end end