-
-
Save sixtyfive/52bcc0e42261289a4ea907e6907ec580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_foobarbazzes | |
foo = begin | |
current_foo | |
rescue StandardError | |
nil | |
end | |
bar = begin | |
current_bar | |
rescue StandardError | |
nil | |
end | |
baz = begin | |
current_baz | |
rescue StandardError | |
nil | |
end | |
[foo, bar, baz] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment