Skip to content

Instantly share code, notes, and snippets.

@markmaynard
Last active June 7, 2019 16:47
Show Gist options
  • Save markmaynard/2946febe576d858c58f5689476fe93f5 to your computer and use it in GitHub Desktop.
Save markmaynard/2946febe576d858c58f5689476fe93f5 to your computer and use it in GitHub Desktop.
Create some things!
class Thing1: SomeThing {
override fun run() = println("Run Fast!")
override fun play() = println("Play Hard!")
}
class Thing2: SomeThing {
override fun run() = println("Run Silly!")
override fun play() = println("Play Soft!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment