class Bake::Documentation
def parameters
@parameter match [MatchData] The regular expression match with `name`, `type` and `details` keys.
@yields {|match| ...}
e.g. `@parameter value [String] The value.`
The parameter lines of the comment block.
def parameters return to_enum(:parameters) unless block_given? @comments.each do |comment| if match = comment.match(PARAMETER) yield match end end end