Skip to content

Instantly share code, notes, and snippets.

@tasaquino
Created November 30, 2018 15:21
Show Gist options
  • Save tasaquino/723e5491e7bb1a14122da2b798f7cd98 to your computer and use it in GitHub Desktop.
Save tasaquino/723e5491e7bb1a14122da2b798f7cd98 to your computer and use it in GitHub Desktop.
Scoping Functions - apply example 2
person.apply {
profession = "Iron Man"
nickname = "Tony"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment