Skip to content

Instantly share code, notes, and snippets.

@dlemures
Created May 16, 2016 11:40
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 dlemures/e23fa4aa4bde176249156f40284ca1b7 to your computer and use it in GitHub Desktop.
Save dlemures/e23fa4aa4bde176249156f40284ca1b7 to your computer and use it in GitHub Desktop.
class SmoothieShop {
@Inject SmoothieMaker smoothieMaker1;
@Inject SmoothieMaker smoothieMaker2;
public SmoothieShop() {
Scope scope = Toothpick.openScope("SmoothieShop");
Toothpick.inject(this, scope);
...
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment