Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような Ruby コードがあります。
# some_string = "{really?}"
中括弧は文字列の一部である必要があります。この行はコメントアウトされたコードで、そこに残しておきます。さらに、コードを文書化するために YARD を使用しているため、実行するyard docと (自然に) 「本当に」リンクできないという警告がスローされます。
yard doc
コメントアウトされたコードを無視するように YARD に指示する方法はありますか?