Skip to content

Instantly share code, notes, and snippets.

@ruz
Created July 23, 2011 08:09
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 ruz/1101175 to your computer and use it in GitHub Desktop.
Save ruz/1101175 to your computer and use it in GitHub Desktop.
subset Direction of Str where any(@directions) {
has %!abbreviations = ...;
has %!opposite = ...;
method opposite {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment