Skip to content

Instantly share code, notes, and snippets.

@onewland
Created June 4, 2010 17:17
Show Gist options
  • Save onewland/425681 to your computer and use it in GitHub Desktop.
Save onewland/425681 to your computer and use it in GitHub Desktop.
if condition
result
end
# result can be any type, condition can be any type; anything that's not false or nil is considered true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment