Sha256: eaa9ffb1553424cd63cd6a6ac409c35affee1d8d3af2be81f128b03ca9f23695
Contents?: true
Size: 730 Bytes
Versions: 2
Compression:
Stored size: 730 Bytes
Contents
# Class: Bird | | | | -----------------: | :----- | | **Inherits:** | Object | | **Defined in:** | example.rb | The base class for all birds. # Constants ## DEFAULT_DUCK_VELOCITY = [](#constant-DEFAULT_DUCK_VELOCITY) (70) Default velocity for a flying duck. # Public Instance Methods ## _fly_impl(_direction , _velocity ) [](#method-i-_fly_impl) :nodoc: ## fly(direction , velocity ) [](#method-i-fly) Fly somewhere. Flying is the most critical feature of birds. :args: direction, velocity :call-seq: Bird.fly(symbol, number) -> bool Bird.fly(string, number) -> bool = Example fly(:south, 70) ## speak() [](#method-i-speak) Produce some noise. -- FIXME: maybe extract this to a base class +Animal+? ++
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-markdown-0.2.1 | example/Bird.md |
yard-markdown-0.2.0 | example/Bird.md |