class YARDReadme::TagFactory

Public Instance Methods

blank_readme_tag?(tag_name, text) click to toggle source
# File lib/yard-readme/tag_factory.rb, line 12
def blank_readme_tag?(tag_name, text)
  tag_name == "readme" && text.nil? || text.empty?
end
parse_tag_with_title_and_text(tag_name, text) click to toggle source

@see github.com/lsegal/yard/blob/359006641260eef1fe6d28f5c43c7c98d40f257d/lib/yard/tags/default_factory.rb#L70

Calls superclass method
# File lib/yard-readme/tag_factory.rb, line 6
def parse_tag_with_title_and_text(tag_name, text)
  return YARD::Tags::Tag.new(tag_name, text) if blank_readme_tag?(tag_name, text)

  super
end