Skip to content

Instantly share code, notes, and snippets.

@nowelium
Created May 5, 2010 07:57
Show Gist options
  • Save nowelium/390506 to your computer and use it in GitHub Desktop.
Save nowelium/390506 to your computer and use it in GitHub Desktop.
Block apply := method(target, args,
args = if(args isNil, list(), args)
target = if(target isNil, scope, target)
self setScope(target)
self performWithArgList("call", args)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment