    # File lib/yard/templates/helpers/method_helper.rb, line 32
          def format_block(object)
            if object.has_tag?(:yield) && object.tag(:yield).types
              params = object.tag(:yield).types
            elsif object.has_tag?(:yieldparam)
              params = object.tags(:yieldparam).map {|t| t.name }
            elsif object.has_tag?(:yield)
              return "{ ... }"
            else
              params = nil
            end

            params ? h("{|" + params.join(", ") + "| ... }") : ""
          end