Sha256: 4e4acc2310ea4e90b04afbf8ee34f32b4e91211e09127c9986baebc9cf26538b
Contents?: true
Size: 563 Bytes
Versions: 19
Compression:
Stored size: 563 Bytes
Contents
# A dangerous lion. Take care. # # @author Simba # @see http://en.wikipedia.org/wiki/Lion # @include Example.AngryAnimal # @extend MissingMixin # class Example.Animal.Lion extends Example.Animal # Maximum speed in MPH @MAX_SPEED = 50 # Move the lion fast # # @param [String] direction the moving direction # @param [Number] speed the moving speed # move: (direction, speed) -> super({ diection: direction, speed: speed }) # Escape at maximum speed. # # @param (see #move) # escape: (direction) -> @move(direction, @MAX_SPEED)
Version data entries
19 entries across 19 versions & 1 rubygems