Skip to content

Instantly share code, notes, and snippets.

@AlexPinhasov
Last active November 13, 2019 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexPinhasov/1129846ef49607a243f9b3be6758dfff to your computer and use it in GitHub Desktop.
Save AlexPinhasov/1129846ef49607a243f9b3be6758dfff to your computer and use it in GitHub Desktop.
class Car: Vehical {
// *Old* code Represented as the "False" state of the toggle
func drive(to geoLocation: Position) {
}
// *New* code Represented as the "True" state of the toggle
func fly(to geoLocation: Position) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment