example/Duck.md in yard-markdown-0.2.1 vs example/Duck.md in yard-markdown-0.2.2
- old
+ new
@@ -4,11 +4,10 @@
| **Inherits:** | Object |
| **Extended by:** | Animal |
| **Includes:** | Waterfowl |
| **Defined in:** | example.rb |
-
A duck is a Waterfowl Bird.
Features:
bird::
@@ -17,17 +16,17 @@
* fly
waterfowl::
* swim
-
# Constants
-## DEFAULT_DUCK_VELOCITY = [](#constant-DEFAULT_DUCK_VELOCITY)
-(70) Default velocity for a flying duck.
+## DEFAULT_DUCK_VELOCITY [](#constant-DEFAULT_DUCK_VELOCITY)
+Default velocity for a flying duck.
+## DEFAULT_SPEED [](#constant-DEFAULT_SPEED)
+Maximum speed for a swimming duck.
-
# Public Instance Methods
-## initialize(domestic , rubber ) [](#method-i-initialize)
+## initialize(domestic, rubber) [](#method-i-initialize)
Creates a new duck.
## speak() [](#method-i-speak)
Duck overrides generic implementation.
## swim() [](#method-i-swim)
Swimming helper.