Method: YARD::Docstring#has_tag?
- Defined in:
- lib/yard/docstring.rb
permalink #has_tag?(name) ⇒ Boolean
Returns true if at least one tag by the name name
was declared
226 227 228 |
# File 'lib/yard/docstring.rb', line 226 def has_tag?(name) .any? {|tag| tag.tag_name.to_s == name.to_s } end |