Permalink
Browse files

Use @api private tag instead of @private for Internal status.

  • Loading branch information...
1 parent 76a1288 commit 75e3335a30d9c0fb7de0d52a4739fa05f025c46d @trans trans committed May 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/yard-tomdoc.rb
View
3 lib/yard-tomdoc.rb
@@ -60,7 +60,8 @@ def self.yard_parse(yard, comment)
yard.create_tag(:deprecated, 'Do not use this in new code, and replace it when updating old code.') if tomdoc.deprecated?
- yard.create_tag(:private, 'Intended for internal use only.') if tomdoc.internal?
+ yard.create_tag(:api, 'public') if tomdoc.public?
+ yard.create_tag(:api, 'private') if tomdoc.internal?
tomdoc
end

0 comments on commit 75e3335

Please sign in to comment.