Sha256: 9923c653cadb31e6dfd2307d314024676e630dbd7d2bae74859029c328ce8c00

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

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

The base class for all birds.


  # 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`? ++


  



  # Constants
  
  ## DEFAULT_DUCK_VELOCITY [](#constant-DEFAULT_DUCK_VELOCITY)
  Default velocity for a flying duck.


  
  ## DEFAULT_SPEED [](#constant-DEFAULT_SPEED)
  Maximum speed for a swimming duck.


  
  

Version data entries

1 entries across 1 versions & 1 rubygems

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