Skip to content

Instantly share code, notes, and snippets.

@hlindberg
Created July 2, 2014 23:28
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 hlindberg/4deac70901fdafe9dbdc to your computer and use it in GitHub Desktop.
Save hlindberg/4deac70901fdafe9dbdc to your computer and use it in GitHub Desktop.
class fruit {
Notify { message => 'banana default'}
define banana {
notify { "in banana $title": }
}
tag 'yellow'
define another {
notify { "in another $title": }
}
fruit::banana { fruit1: }
fruit::another { fruit2: }
}
include fruit
fruit::banana { fruit3: }
fruit::another { fruit4: }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment