Skip to content

Instantly share code, notes, and snippets.

@Martin-Nyaga
Created November 24, 2016 15:46
Show Gist options
  • Save Martin-Nyaga/30a98674cad267d7bd7cca39ee3fff42 to your computer and use it in GitHub Desktop.
Save Martin-Nyaga/30a98674cad267d7bd7cca39ee3fff42 to your computer and use it in GitHub Desktop.
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