example/Salmon.md in yard-markdown-0.4 vs example/Salmon.md in yard-markdown-0.4.1
- old
+ new
@@ -17,42 +17,40 @@
# 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
+**@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
+**@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
+**@return** [Boolean] Whether the salmon is sustainable
## swim() [](#method-i-swim)
Swim in the water.
-**return** [void]
+**@return** [void]
# Public Class Methods
## wild_salmon() [](#method-c-wild_salmon)
-**return** [Array<Salmon>] List of all wild salmon
+**@return** [Array<Salmon>] List of all wild salmon
# Attributes
## farmed[RW] [](#attribute-i-farmed)
-**return** [Boolean] True for farmed salmon
+**@return** [Boolean] True for farmed salmon
## wild[RW] [](#attribute-i-wild)
-**return** [Boolean] True for wild salmon
+**@return** [Boolean] True for wild salmon
# Constants
-## DEFAULT_SALMON_SPEED [](#constant-DEFAULT_SALMON_SPEED)
-
-
-## MAX_DEPTH [](#constant-MAX_DEPTH)
-
-
+| Name | Default Value |
+| --- | --- |
+| [DEFAULT_SALMON_SPEED](#constant-DEFAULT_SALMON_SPEED) | 20 |
+| [MAX_DEPTH](#constant-MAX_DEPTH) | 500 |