Tools for generating a versioned documentation site from YARD docs.
Object representing the metadata tags for a Ruby module.
Each module can have the following metadata tags:
Other tags are not currently supported.
#initialize(native:) => Base
#abstract => String, nil
Returns the @abstract tag, if any, defined for the module.
#api => String, nil
Returns the @api tag, if any, defined for the module.
#as_json => Hash{String => Object}
Generates a JSON-compatible representation of the metadata.
Returns a Hash with zero or more of the following keys:
#authors => Array<String>
Collects the @author tags defined for the module.
#deprecated => String, nil
Returns the @deprecated tag, if any, defined for the module.
#examples => Array<Hash{String => String}>
Collects the @example tags defined for the module.
Each @example tag is represented as a Hash with the following keys:
#notes => Array<String>
Collects the @note tags defined for the module.
#see => Array<Hash{String => String}>
Collects the @see tags defined the for the module.
Each @see tag is represented as a Hash with String keys and values, and has at a minimum the ‘text’ key. See the SeeTag#as_json method for details.
#since => Array<String>
Collects the @since tags defined for the module.
#todos => Array<String>
Collects the @todo tags defined for the module.
#versions => Array<String>
Collects the @version tags defined for the module.
Back to Documentation | Versions | 0.2 | Reference | SleepingKingStudios | SleepingKingStudios::Docs | SleepingKingStudios::Docs::Data