Skip to content

Instantly share code, notes, and snippets.

@ujihisa
Created July 11, 2010 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ujihisa/471778 to your computer and use it in GitHub Desktop.
Save ujihisa/471778 to your computer and use it in GitHub Desktop.
if process.argv.shift() == 'ujihisa'
Ujihisa: new Function
Ujihisa::hi: () -> 'my name is ujihisa'
the_klass: () -> Ujihisa
else
Ujm: new Function
Ujm::hi: () -> 'this is a pen'
the_klass: () -> Ujm
p (new (the_klass())).hi()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment