Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 28, 2011 20:13
Show Gist options
  • Save tadzik/1112434 to your computer and use it in GitHub Desktop.
Save tadzik/1112434 to your computer and use it in GitHub Desktop.
The original S26 version: declarators allowed anywhere:
#= maybe here
class Foo #= or here
{
#= or here
}
Which is at least confusing. As in:
class Foo {
#= what do I document?
has $.zebra;
}
The often-thought-about solution is "#= can be only before the thing it documents", and it makes sense imho. So, what will be the best way to link these two?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment