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
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