class YARD::Docstring

def blank?(only_visible_tags = true)

Returns:
  • (Boolean) - whether or not the docstring has content

Parameters:
  • only_visible_tags (Boolean) -- whether only {Tags::Library.visible_tags}
def blank?(only_visible_tags = true)
  if only_visible_tags
    empty? && !tags.any? {|tag| Tags::Library.visible_tags.include?(tag.tag_name.to_sym) }
  else
    empty? && @tags.empty? && @ref_tags.empty?
  end
end