-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YardocTask#define prevents user description of task #705
Comments
Allowing a description parameter on the task constructor would solve this. |
I haven't looked at the YARD code but think it is easier to just check I'll make a pull request. |
lsegal
added a commit
that referenced
this issue
Dec 9, 2013
Fix #705 by not calling desc if ::Rake.application.last_comment is set
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The protected
define
method ofYARD::Rake::YardocTask
forces a hard-coded description of Generate YARD Documentation on the task, preventing the user orRakefile
from giving it a different description. If multipleYardocTask
s are used in theRakefile
for different purposes/with different parameters, this prevents them from being described appropriately.The text was updated successfully, but these errors were encountered: