Skip to content
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

YARDで@optionの中に@deprecatedを書いても動いていない気がする #36

Open
kou opened this issue Nov 6, 2014 · 1 comment

Comments

@kou
Copy link
Member

kou commented Nov 6, 2014

Groonga::Schema.create_table のドキュメントで使っているけど、そのまま出力されているようにみえる。

YARDの問題ならYARDに報告する。使い方が悪いならこっちを直す。

@myokoym
Copy link
Member

myokoym commented Feb 14, 2015

メモ:

使っているのはここ
https://github.com/ranguba/rroonga/blob/master/lib/groonga/schema.rb#L277

出力はこれ
http://ranguba.org/rroonga/ja/Groonga/Schema.html#create_table-instance_method

@optionの中じゃなくてメソッド自体に付けると、こんな感じで表示される
http://ranguba.org/rroonga/ja/Groonga/Logger.html#log_path-class_method

YARDのドキュメントを見ると、今はmethod/class専用かもしれない
File: Tags Overview — Documentation for yard (0.8.7.6)
http://www.rubydoc.info/gems/yard/file/docs/Tags.md#deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants