module Sprockets::ProcessorUtils
def valid_processor_metadata_value?(value)
value - Any Object
Internal: Validate object is in validate metadata whitelist.
def valid_processor_metadata_value?(value) if VALID_METADATA_VALUE_TYPES.include?(value.class) true elsif VALID_METADATA_COMPOUND_TYPES.include?(value.class) value.all? { |v| valid_processor_metadata_value?(v) } else false end end