tomdoc

    0熱度

    1回答

    我正在處理包含ActiveSupport的可配置模塊的代碼,並試圖記錄配置訪問器。 任何人都知道如何在YARD Tomdoc中這麼做? 我試過以下,但它似乎沒有呈現文檔中的任何東西。 class MyConf include ActiveSupport::Configurable # Is this configuration awesome? (defaults: tru

    1熱度

    1回答

    的TomDoc格式未能給予一個圖示的說法的一個例子 - 它應該怎麼做?: # Public: method to check allowed options. # # options - Hash with options to check. # *allowed - Splat Array with allowed options. # # Returns nothing. def