example/Salmon.md in yard-markdown-0.4.1 vs example/Salmon.md in yard-markdown-0.4.2

- old
+ new

@@ -13,44 +13,53 @@ * make_sound * swim * **Aquatic** * swim (overridden) + +| Constants | Default Value | +| --- | --- | +| [DEFAULT_SALMON_SPEED](#constant-DEFAULT_SALMON_SPEED) | 20 | +| [MAX_DEPTH](#constant-MAX_DEPTH) | 500 | # Public Instance Methods ## initialize(farmed, wild) [](#method-i-initialize) Creates a new salmon. **@param** [Boolean] Whether the salmon is farmed + **@param** [Boolean] Whether the salmon is wild + **@return** [Salmon] a new instance of Salmon + ## make_sound() [](#method-i-make_sound) Salmon overrides generic implementation. **@return** [void] + **@yield** [sound] The sound produced by the salmon + **@yieldparam** [String] The actual sound + ## sustainable?() [](#method-i-sustainable?) Checks if this salmon is sustainable. **@return** [Boolean] Whether the salmon is sustainable + ## swim() [](#method-i-swim) Swim in the water. **@return** [void] + # Public Class Methods ## wild_salmon() [](#method-c-wild_salmon) **@return** [Array<Salmon>] List of all wild salmon # Attributes ## farmed[RW] [](#attribute-i-farmed) **@return** [Boolean] True for farmed salmon + ## wild[RW] [](#attribute-i-wild) **@return** [Boolean] True for wild salmon -# Constants -| Name | Default Value | -| --- | --- | -| [DEFAULT_SALMON_SPEED](#constant-DEFAULT_SALMON_SPEED) | 20 | -| [MAX_DEPTH](#constant-MAX_DEPTH) | 500 |