Created
November 24, 2016 15:46
-
-
Save Martin-Nyaga/30a98674cad267d7bd7cca39ee3fff42 to your computer and use it in GitHub Desktop.
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
class TruckParkingTicket < ParkingTicket | |
def base_fee | |
1200 | |
end | |
def surcharge | |
super * 1.5 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment