Skip to content

Instantly share code, notes, and snippets.

@vic
Created October 4, 2010 15:35
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 vic/609889 to your computer and use it in GitHub Desktop.
Save vic/609889 to your computer and use it in GitHub Desktop.
# I'd like to have fancy to recognize when I'm openning a class (by a convention:
# All identifiers starting with an upper case are constants and hence, the following
# is equivalent to
# def class Rubinius
#
def Rubinius {
# A nested class
def Compiler {
def compile_fancy: file {
# method body here
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment