Skip to content

Instantly share code, notes, and snippets.

@benhoskings
Created July 24, 2008 00:55
Show Gist options
  • Save benhoskings/1974 to your computer and use it in GitHub Desktop.
Save benhoskings/1974 to your computer and use it in GitHub Desktop.
if (results = Parser.new.parse).nil?
# parse failure
else
# displaying help info and exiting is a valid execution method
execute_with_options results
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment