Skip to content

Instantly share code, notes, and snippets.

@cwarden
Created December 6, 2011 01:56
Show Gist options
  • Select an option

  • Save cwarden/1436343 to your computer and use it in GitHub Desktop.

Select an option

Save cwarden/1436343 to your computer and use it in GitHub Desktop.
class first {
tag('doot')
}
class second {
if tagged(first) {
warning('first tag found')
} else {
warning('first tag not found')
}
if tagged(doot) {
warning('doot tag found')
} else {
warning('doot tag not found')
}
if tagged(third) {
warning('third tag found')
} else {
warning('third tag not found')
}
}
class third {
}
class {
'first':;
'second':;
'third':;
}
Class['first'] -> Class['second'] <- Class['third']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment