class Tigger

  1. src/tigger.rb
Superclass: Object

A class that models the famous Tigger character from A. A. Milne's “Winnie The Pooh” books.

Methods

Public Instance

  1. roar
  2. to_s

Included modules

  1. Singleton

Public Instance methods

roar ()

Returns a string with a tigger roar.

[show source]
# File src/tigger.rb, line 19
def roar
  'Grrr!'
end
to_s ()

Returns the string representation of this tigger instance.

[show source]
# File src/tigger.rb, line 14
def to_s
  return "I'm the only one!"
end