Subtype polymorphism

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs