Multiple paragraphs in description ignored #7

Closed
pch opened this Issue Aug 5, 2012 · 4 comments

Projects

None yet

4 participants

pch commented Aug 5, 2012

It seems that yard-tomdoc parses only the first line of description and ignores params if description contains more than 1 paragraph:

  # Public: Some method.
  #
  # This is a longer description.
  #
  # id - The Integer id of tne campaign.
  #
  # Examples
  #
  #   puts "Hello world"
  #
  # Returns nothing

And the result is:

Owner
trans commented Aug 5, 2012

Thanks. Will have a look as soon as I can. But feel free to submit a patch before then, if you see how to fix.

paneq commented Aug 22, 2012

+1

👍

Owner
trans commented Jan 22, 2013

This should be fixed now. Just update the tomparse gem.

@trans trans closed this Jan 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment