Method: YARD::Docstring#blank?
- Defined in:
- lib/yard/docstring.rb
#blank?(only_visible_tags = true) ⇒ Boolean
Returns true if the docstring has no content that is visible to a template.
253 254 255 256 257 258 259 |
# File 'lib/yard/docstring.rb', line 253 def blank?( = true) if empty? && !.any? {|tag| Tags::Library..include?(tag.tag_name.to_sym) } else empty? && @tags.empty? && @ref_tags.empty? end end |