Skip to content

Instantly share code, notes, and snippets.

@jbrechtel
Created June 10, 2012 05:18
Show Gist options
  • Select an option

  • Save jbrechtel/2903926 to your computer and use it in GitHub Desktop.

Select an option

Save jbrechtel/2903926 to your computer and use it in GitHub Desktop.
if blocks return values
something = if x > 10
'hello'
else
'bye'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment