# File lib/yard/templates/helpers/base_helper.rb, line 179 def format_object_type(object) case object when YARD::CodeObjects::ClassObject object.is_exception? ? "Exception" : "Class" else object.type.to_s.capitalize end end