Skip to content

Instantly share code, notes, and snippets.

@MitinPavel
Created August 27, 2011 06:22
Show Gist options
  • Save MitinPavel/1175063 to your computer and use it in GitHub Desktop.
Save MitinPavel/1175063 to your computer and use it in GitHub Desktop.
Meeting - DCI and Web Frameworks #1
if callcc YesNoMessageBox.new('Some question')
a_role.do_some_stuff
else
other_role.do_other_stuff
end
user_input = callcc DialogBox.new('Other question')
a_role.do user_input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment