如何在 Ruby 中使用 YUIDoc 注释?我能想到的最好的是:
##*
# Get Query history
# @type {Array} Past search query objects
# @param {int} limit The number of objects to return. Defaults to 10. (Max 100).
# @param {boolean} only_visible limit the search to visible items. Defaults to true.
#
和这个:
#/**
# * Get Query history
# * @type {Array} Past search query objects
# * @param {int} limit The number of objects to return. Defaults to 10. (Max 100).
# * @param {boolean} only_visible limit the search to visible items. Defaults to true.
# */