def join_name(parts,
                  separator: ObjectInspector.configuration.name_separator)
      the_parts = Array(parts).tap(&:compact!)
      the_parts.join(separator) if the_parts.any?
    end
def join_name(parts,
                  separator: ObjectInspector.configuration.name_separator)
      the_parts = Array(parts).tap(&:compact!)
      the_parts.join(separator) if the_parts.any?
    end
Join the passed-in name parts with the passed in separator.

 @param parts [Array<#to_s>]
 @param separator [#to_s] (ObjectInspector.configuration.flags_separator)