programming-examples/ruby/Basics/inheritance robots.rb

16 lines
191 B
Ruby
Raw Normal View History

2019-11-18 14:44:36 +01:00
class Robot
# Your code goes here
end
class Ultron < Robot
# Your code goes here
end
class MegaMan < Robot
# Your code goes here
end
class Glados < Robot
# Your code goes here
end