Skip to content

Instantly share code, notes, and snippets.

@b-adams
Created September 19, 2011 01:53
Show Gist options
  • Save b-adams/1225842 to your computer and use it in GitHub Desktop.
Save b-adams/1225842 to your computer and use it in GitHub Desktop.
Greeter := Object clone
Greeter greet := method(name, "Greetings " .. name println)
command := "greet(\"Jamie\")"
Greeter doString(command)
@b-adams
Copy link
Author

b-adams commented Sep 19, 2011

Executing code in a slot given (in the slot 'command') its name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment