Created
January 13, 2015 01:02
-
-
Save ahirschberg/6d08d2a9e9314ca951d7 to your computer and use it in GitHub Desktop.
Liskov Substitution Principal example 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Implementation 3 | |
class Base | |
def get_number | |
raise NotImplementedError | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment