Sha256: d2f9e8dc64ccc37d295e920a2b4f185a8137004389e11f54603ed29fc6fa8f58
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
# class Duck [](#class-Duck) [](#top) A duck is a [`Waterfowl`](Waterfowl.html) [`Bird`](Bird.html). Features: bird:: - speak - fly waterfowl:: - swim ## Constants | Name | Description | | ---- | ----------- | | **MAX_VELOCITY[](#MAX_VELOCITY)** | Not documented | ## Bird overrides ## Constants | Name | Description | | ---- | ----------- | | **MAX_VELOCITY[](#MAX_VELOCITY)** | Not documented | ## Public Instance Methods ### speak() { |speech| ... } [](#method-i-speak) [`Duck`](Duck.html) overrides generic implementation. ## Duck extensions ## Constants | Name | Description | | ---- | ----------- | | **MAX_VELOCITY[](#MAX_VELOCITY)** | Not documented | ## Attributes ### domestic[RW] [](#attribute-i-domestic) True for domestic ducks. ### rubber[R] [](#attribute-i-rubber) True for rubber ducks. ## Public Class Methods ### new(domestic, rubber) [](#method-c-new) Creates a new duck. ### rubber_ducks() [](#method-c-rubber_ducks) Returns list of all rubber ducks. ## Public Instance Methods ### useful? -> bool [](#method-i-useful-3F) Checks if this duck is a useful one.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rdoc-markdown-0.4 | example/Duck.md |
rdoc-markdown-0.3.6 | example/Duck.md |