Skip to content

Instantly share code, notes, and snippets.

@marcinjak
Created Mar 16, 2018
Embed
What would you like to do?
class Shape
def draw
raise NotImplementedError
end
end
class Rectangle < Shape
def draw
# Draws rectangle
end
end
class Circle < Shape
def draw
# Draws circle
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment