Subtype polymorphism

hello everyone, can somebody give me an example of a subtype
polymorphism in ruby with a code as the example… thanks

http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming#Ruby

That said, inheritance is kinda silly in Ruby, and only really useful
in specific situations. You should just use duck typing instead.