Sha256: ced235bf4e3a4eefe3079aa0f75774243592656fdd9c82f689dede3f8f6ff5f1

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# Class: Bird
| | |
| -----------------:  | :-----    |
| **Inherits:** | Object  |
| **Defined in:**    | example.rb    |


The base class for all birds.

# Constants
## 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

1 entries across 1 versions & 1 rubygems

Version Path
yard-markdown-0.1.0 example/Bird.md