Skip to content

Instantly share code, notes, and snippets.

@ataulm
Last active August 10, 2018 10:58
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 ataulm/9f448099bc9bbecb2cc8038d8b097cfa to your computer and use it in GitHub Desktop.
Save ataulm/9f448099bc9bbecb2cc8038d8b097cfa to your computer and use it in GitHub Desktop.
class ScoopAction {
operator fun invoke(iceCreamTub: IceCreamTub): ScoopResult {
return invoke(iceCreamTub, 1)
}
operator fun invoke(iceCreamTub: IceCreamTub, scoops: Int): ScoopResult {
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment