Skip to content

Instantly share code, notes, and snippets.

@waugh
Created December 29, 2013 03:36
Show Gist options
  • Save waugh/8167130 to your computer and use it in GitHub Desktop.
Save waugh/8167130 to your computer and use it in GitHub Desktop.
create_logical_variable = lambda do
it = NodeType.new
it.comment = "Create logical variable."
it[:asker ].comment = "reference allowing reading"
it[:teller].comment = "reference allowing writing"
it.lock!
it
end.call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment