# File lib/yard/templates/helpers/base_helper.rb, line 165 def format_types(list, brackets = true) list.nil? || list.empty? ? "" : (brackets ? "(#{list.join(", ")})" : list.join(", ")) end