Skip to content

Instantly share code, notes, and snippets.

@jaytaph
Created February 11, 2014 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaytaph/8944218 to your computer and use it in GitHub Desktop.
Save jaytaph/8944218 to your computer and use it in GitHub Desktop.
import io;
class foo {
public method bar() {
try {
io.print("try\n");
return "1";
} catch (exception e) {
io.print("exception\n");
return "2";
} finally {
io.print("finally\n");
}
}
}
f = foo();
io.print(f.bar(),"\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment