Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reference tags #17

Closed
netzpirat opened this issue Feb 20, 2012 · 0 comments
Closed

Support reference tags #17

netzpirat opened this issue Feb 20, 2012 · 0 comments
Labels

Comments

@netzpirat
Copy link
Contributor

Codo should support tag references to meta data from other methods can be reused:

class User
  # @param [String] username the nam of the user to add
  # @param [Number] uid the user ID
  # @param [Number] gid the group ID
 constructor: (username, uid, gid) ->

class UserHelper
  # @param (see User#constructor)
  addUser: (username, uid, gid) ->
    new User(username, uid, gid)

  # @param username (see User#constructor)
 addRootUser: (username) ->
    new User(username, 0, 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant