Ruby 在YRI中显示自定义标记

Ruby 在YRI中显示自定义标记,ruby,yard,Ruby,Yard,我在.yardopts文件中创建了一些自定义标记,如下所示: --name-tag optfield:"Field that is not required to be filled out by the user." --name-tag nonfield:"Parameter that is not a field to be filled out by the user." 当我在web浏览器中查看它们时,它们显示得非常好,但是当我尝试使用yri查看类时,我看不到显示我的自定义标记 例如

我在
.yardopts
文件中创建了一些自定义标记,如下所示:

--name-tag optfield:"Field that is not required to be filled out by the user."
--name-tag nonfield:"Parameter that is not a field to be filled out by the user."
当我在web浏览器中查看它们时,它们显示得非常好,但是当我尝试使用
yri
查看类时,我看不到显示我的自定义标记

例如,这个类

#This is a boring class
class Boring
    # This function is the index.
    # @param required_field [String] Required!
    # @optfield optional_argument [String] Totally not required dude.
    # @nonfield webData [WebData] Not even an option.
    def index(optional_argument = "", webData = $wedData)
    end
end
当我运行
yri#index

------------------------------------------------ Method: #index (Boring)
                                               (Defined in: YardTest.rb)

    boring.index(optional_argument = "", webData = $wedData) -> Object 
------------------------------------------------------------------------

    This function is the index. 

Parameters:
-----------

    (String) required_field - Required!
有没有办法配置
yri
来显示我的自定义标签