Parses tag text and creates a new tag with descriptive text
Parameters:
the name of the tag to parse
the raw tag text
Returns:
a tag object with the tag_name and text values filled
13 14 15
# File 'lib/yard/tags/default_factory.rb', line 13 def parse_tag(tag_name, text) Tag.new(tag_name, text.strip) end