Skip to content

Instantly share code, notes, and snippets.

@ahomu
Created September 2, 2012 10:09
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahomu/3596422 to your computer and use it in GitHub Desktop.
Save ahomu/3596422 to your computer and use it in GitHub Desktop.
.coffee documentation comment sample for YUIDoc
###*
# hogehoge test description
# @class Hoge
###
class Hoge
###*
# fuga is number
# @property {Number} fuga
###
@fuga
###*
# piyo is string
# @property {String} piyo
###
@piyo
###*
# test description
# @constructor
# @param {Number} a
# @param {String}
###
@constructor:(a, b)->
@fuga = a
@piyo = b
###*
# return concat props
# @method munimuni
# @return {String}
###
@muni: ->
@fuga + @piyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment