I have a code like this in Foo module:
String.prototype.capitaliseFirstLetter = function() {
return this.charAt(0).toUpperCase() + this.slice(1);
};
I tried documenting it like this:
/**
* Capitalize first letter of string
* @method ucfirst
* @for String
*/
but it doesn't show up in module view. Is it possible?